The ViewerApplication invoking this function.
The function to execute after debouncing.
The list of events that will cause the given delegate to get debounced.
Debounces a given function and runs it once all view related events have settled for a specified timeout (defaults to 400ms). This function cannot guarantee deterministic results and we don't recommend you use it unless absolutely necessary. There may be points of failure introduced if, for instance, a large number of modules use it and activate views of their own. This may lead to unintended behavior.
The ViewerApplication invoking this function.
The function to execute after debouncing.
A reliable way to test an element for a class that works in IE9
Returns a function, that, when invoked, will only be triggered at most once
during a given window of time. Normally, the throttled function will run
as much as it can, without ever going more than once per wait
duration
Function to call
Time to throttle
If you'd like to disable the execution on the leading edge, pass
{leading: false}
. To disable execution on the trailing edge, ditto.
Debounces a given function and runs it once all target events have settled for a specified timeout (defaults to 200ms). This function cannot guarantee deterministic results and we don't recommend you use it unless absolutely necessary.