[Method] Create an alias to the provided method property with name methodName of object
Object/Function
String
any
Function aliasFn
[Method] Create a new function from the provided fn change this to the provided scope optionally overrides arguments for the
Function The function to delegate.
Object The scope (this reference) in which the function is executed. If omitted, defaults to the browser window.
Array Overrides arguments for the call. (Defaults to the arguments passed by the caller)
Boolean/Number if true args are appended to call args instead of overriding, if a number the args are inserted at the specified position.
any
Function The new function.
[Method] Create a clone of the provided method
Function
any
Function cloneFn
[Method] Creates a delegate function optionally with a bound scope which when called buffers the execution of the passed fu
Function The function to invoke on a buffered timer.
Number The number of milliseconds by which to buffer the invocation of the function.
Object The scope (this reference) in which the passed function is executed. If omitted, defaults to the scope specified by the caller.
Array Override arguments for the call. Defaults to the arguments passed by the caller.
any
Function A function which invokes the passed function after buffering for the specified time.
[Method] Creates a delegate callback which when called executes after a specific delay
Function The function which will be called on a delay when the returned function is called. Optionally, a replacement (or additional) argument list may be specified.
Number The number of milliseconds to defer execution by whenever called.
Object The scope (this reference) used by the function at execution time.
Array Override arguments for the call. (Defaults to the arguments passed by the caller)
Boolean/Number if True args are appended to call args instead of overriding, if a number the args are inserted at the specified position.
any
Function A function which, when called, executes the original function after the specified delay.
[Method] Create a new function from the provided fn change this to the provided scope optionally overrides arguments for the
Function The function to delegate.
Object The scope (this reference) in which the function is executed. If omitted, defaults to the browser window.
Array Overrides arguments for the call. (Defaults to the arguments passed by the caller)
Boolean/Number if true args are appended to call args instead of overriding, if a number the args are inserted at the specified position.
any
Function The new function.
[Method] Creates an interceptor function
Function The original function.
Function The function to call before the original.
Object The scope (this reference) in which the passed function is executed. If omitted, defaults to the scope in which the original function is called or the browser window.
Object The value to return if the passed function return false.
any
Function The new function.
[Method] Create a combined function call sequence of the original function the passed function
Function The original function.
Function The function to sequence.
Object The scope (this reference) in which the passed function is executed. If omitted, defaults to the scope in which the original function is called or the browser window.
any
Function The new function.
[Method] Creates a throttled version of the passed function which when called repeatedly and rapidly invokes the passed func
Function The function to execute at a regular time interval.
Number The interval, in milliseconds, on which the passed function is executed.
Object The scope (this reference) in which the passed function is executed. If omitted, defaults to the scope specified by the caller.
any
Function A function which invokes the passed function at the specified interval.
[Method] Calls this function after the number of milliseconds specified optionally in a specific scope
Function The function to defer.
Number The number of milliseconds for the setTimeout() call. If less than or equal to 0 the function is executed immediately.
Object The scope (this reference) in which the function is executed. If omitted, defaults to the browser window.
Array Overrides arguments for the call. Defaults to the arguments passed by the caller.
Boolean/Number if true, args are appended to call args instead of overriding, if a number the args are inserted at the specified position.
number
Number The timeout id that can be used with clearTimeout().
[Method] A very commonly used method throughout the framework
Function
any
Function flexSetter
[Method] Create a new function from the provided fn the arguments of which are pre set to args
Function The original function.
Array The arguments to pass to new callback.
Object The scope (this reference) in which the function is executed.
any
Function The new callback function.