Skip to content

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