scheduleEvent
Calls the supplied event function (after 2 animation frames).
Signature
scheduleEvent(
fn: ((...arguments: any[]) => void) | undefined,
...arguments: any[]
): void
Parameters
Name | Type | Optional | Description |
---|---|---|---|
fn | ((...arguments: any[]) => void) | undefined | No | Specifies the function to execute. |
arguments | any[] | Yes | Optional arguments which should be passed to the callee. |