Skip to content

Add access to click event on buttons #219

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
May 31, 2017
Merged

Add access to click event on buttons #219

merged 1 commit into from
May 31, 2017

Conversation

WilStead
Copy link
Contributor

Uses built-in Vue $event special variable to pass DOM click event to button onclick functions as a third parameter.

Allows for use of stopPropagation, etc.

Shouldn't cause any breaking changes.

Used built-in Vue $event special variable to pass DOM click event to button onclick functions as a third parameter.
Copy link
Member

@icebob icebob left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice PR, thanks!

@icebob icebob merged commit e838286 into vue-generators:master May 31, 2017
@WilStead WilStead deleted the feat/button-events branch May 31, 2017 17:47
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