Skip to content

Modifiers key modifier for directive on of Vue.js 2.0 #4034

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 3 commits into from
Nov 20, 2016
Merged

Modifiers key modifier for directive on of Vue.js 2.0 #4034

merged 3 commits into from
Nov 20, 2016

Conversation

KingMario
Copy link
Contributor

add ctrl, shift and alt modifiers for v-on

@HerringtonDarkholme
Copy link
Member

Good catch! Should we also support metaKey?

@yyx990803 yyx990803 modified the milestones: 2.0, 2.1 Nov 2, 2016
@tangbc
Copy link

tangbc commented Nov 3, 2016

Directive v-on can also consider add .once to executed at most once per element per event type. Just like what jQuery('.btn').one('animationend', callback) does.

@yyx990803 yyx990803 merged commit 048014a into vuejs:dev Nov 20, 2016
@KingMario KingMario deleted the modifiers-key-modifier branch November 20, 2016 14:49
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.

4 participants