Events

Event handling
<input @click="onClick($event, prop)">
Whole list of events:
  1. click
  2. mousedown
  3. mouseup
  4. keyup
  5. change
  6. mouseout
  7. mouseover
  8. mouseenter
  9. mouseleave
  10. click
  11. scroll
  12. mousewheel
  13. submit
  14. focus
  15. blur
  16. dragstart
  17. dragend
Also you can use @ instead of ac-
ac-mod
<input ac-mod="prevent, stop, once, self, capture">
ac-key="stop"
The event's propagation will be stopped
ac-key="prevent"
The submit event will no longer reload the page
ac-key="once"
The event will be triggered once, further triggering will be ignored
ac-key="self"
The event will be triggered if event.target is the element itself
ac-key="capture"
Equals to element.addEventListener('event', function(){}, true);
ac-keymod
<input  ac-mod="prevent, stop, once, self, capture">
ac-keymod="enter"
The event's will be triggered if event.keyCode = '13'
Whole list of key modifier aliases:
  1. esc
  2. tab
  3. enter
  4. space
  5. up
  6. left
  7. right
  8. down
  9. delete