Skip to main content

Type PluginContext

Less than 1 minute

Type PluginContext

Declared in packages/sdk/app-framework/src/plugins/PluginHost/PluginContext.tsx:10open in new window

Properties

availableopen in new window

Type: Plugin["meta"][]

All available plugins.

enabledopen in new window

Type: string[]

Ids of plugins which are enabled on this device.

pluginsopen in new window

Type: Plugin[]

Initialized and ready plugins.

readyopen in new window

Type: boolean

All plugins are ready.

setPluginopen in new window

Type: function

Mark plugin as enabled. Requires reload to take effect.