Skip to main content

scheduleEvent

Calls the supplied event function (after 2 animation frames).

Signature

scheduleEvent(
fn: ((...arguments: any[]) => void) | undefined,
...arguments: any[]
): void

Parameters

NameTypeOptionalDescription
fn((...arguments: any[]) => void) | undefinedNoSpecifies the function to execute.
argumentsany[]YesOptional arguments which should be passed to the callee.