debounce
-
Limited to: directives that expect
Functionvalues, e.g.v-on -
Arguments:
{Number} [wait] - default: 300
-
Usage:
Wrap the handler to debounce it for
xmilliseconds, wherexis the argument. Default wait time is 300ms. A debounced handler will be delayed until at leastxms has passed after the call moment; if the handler is called again before the delay period, the delay period is reset toxms. -
Example:
<input @keyup="onKeyup | debounce 500">
Please login to continue.