In VueJS, there are event modifiers for click
and key
events that allow things like click.prevent
, click.once
, key.up
.
How do I create custom event modifiers?
More specifically, how can I create a mousemove.throttle
event modifier so that I can apply lodash throttling whenever I add that modifier to an event?