Vue JS Keyboard event modifiers

Only trigger the event if a particular keyboard key is also pressed:

  • .ctrl
  • .alt
  • .shift
  • .meta (cmd on Mac, windows key on Win)

v-bind

v-bind .prop bind a prop instead of an attribute
v-bind .cameluse camelCase for the attribute name
v-bind .synca syntactic sugar that expands into a v-on handler for updating the bound value. See this.

Leave a Reply

Your email address will not be published. Required fields are marked *