Members
- 
constant cancelIdleCb
 - 
    
    The native `cancelIdleCallback()` function or `cancelIdleCallbackShim()` if the browser doesn't support it.
 - 
constant defineDeferProp
 - 
    
    : helper to define idle values/props
 - 
constant defineDeferProps
 - 
    
    
    
 - 
constant name
 - 
    
    this basic plugin is for demonstration only
 - 
constant reqIdleCb
 - 
    
    The native `requestIdleCallback()` function or `cancelIdleCallbackShim()` .if the browser doesn't support it.
 
Methods
- 
    
        
curry(func) → {function}
 - 
    
    create a curried version of the given function
Parameters:
Name Type Description funcfunction function to be curried Returns:
function - curried version of the given func - 
    
        
invokeNative(fnName) → {any}
 - 
    
    a helper to invoke any setter/getter from the native player
Parameters:
Name Type Description fnNameString name of the function to be invoked from native player Returns:
any - result form the invoked functionExample
MyWrapper.prototype.play = invokeNative('play'); - 
    
        
taskQueuePatch()
 - 
    
    queues a microtask to be executed at a safe time prior to control returning to the browser's event loop.