Skip to content

add support for on-event props (fix #110) #126

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 5, 2018
Merged

Conversation

HerbLuo
Copy link
Contributor

@HerbLuo HerbLuo commented Feb 18, 2018

usage:

render (h) {
  return h('third-party-component', {
    props: {
      onSuccess: this.handleSuccess
    }
  })
}

->

render (h) {
  return (
    <third-party-component propsOnSuccess={this.handleSuccess} />
  )
}

@yyx990803 yyx990803 merged commit a78e5a9 into vuejs:master Mar 5, 2018
yyx990803 pushed a commit that referenced this pull request Mar 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants