Skip to content

Commit

Permalink
fix(button): button click event is not being dispatched
Browse files Browse the repository at this point in the history
add $listeners to custom-element so that  click event get's dispatched
  • Loading branch information
stasson committed Oct 6, 2017
1 parent c5660eb commit 8d90920
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions components/util/element.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ export const CustomElement = {
render (createElement) {
return createElement(this.tag, {
'attrs': this.$attrs,
'on': this.$listeners
},
this.$slots.default )
}
Expand Down

0 comments on commit 8d90920

Please sign in to comment.