artboard-deluxe / ArtboardPluginInstance
ArtboardPluginInstance<O, R>
ArtboardPluginInstance<
O,R> =object&R
Defined in: types/index.ts:42
A fully initialised plugin instance.
Type declaration
destroy()?
optionaldestroy: () =>void
Remove event listeners and clean up.
Returns
void
loop()?
optionalloop: (ctx) =>void
Called in the main animation loop.
Receives the state of the artboard at the time of the animation loop as an argument.
Parameters
ctx
Returns
void
options
options:
ArtboardPluginOptions<O>
The options helper.
Type Parameters
O
O extends object = object
R
R extends object = object