- Source:
Methods
(static) debounceAnimationFrame(callback, context)
- Description:
- Debounces function using requestAnimationFrame() 
 
- Source:
Parameters:
| Name | Type | Description | 
|---|---|---|
| callback | function | Function to invoke, cancelled if called faster than RAF | 
| context | Object | Optional context to bind to callback | 
(static) runAfterFramePaint(callback)
- Description:
- Run a function after the browser finishes a paint/render 
 
- Source:
- See:
Parameters:
| Name | Type | Description | 
|---|---|---|
| callback | function | Function to execute after paint |