Skip to content

artboard-deluxe / ArtboardPluginDefinition

ArtboardPluginDefinition<T, R>

ArtboardPluginDefinition<T, R> = object

Defined in: types/index.ts:130

Defines a plugin definition.

This is the return value when you create a plugin, e.g. using mouse(). The plugin definition can then be passed as the second argument in an array to createArtboard or by manually adding the plugin after the artboard has been initialised using artboard.addPlugin().

Type Parameters

T

T extends object

R

R extends object

Properties

init

init: ArtboardPluginInit<T, R>

Defined in: types/index.ts:141

Internal

The method to initlise the plugin.


options

options: ArtboardPluginOptions<T>

Defined in: types/index.ts:134

The options instance.