Skip to main content

commands

Functions

invokeBundleWidget()

invokeBundleWidget(widgetId, apisBlobUrl): Promise<string>

Invoke the bundle_widget command.

Parameters

ParameterType
widgetIdstring
apisBlobUrlstring

Returns

Promise<string>

Defined in

commands.ts:14


invokeExitApp()

invokeExitApp(settings): Promise<void>

Invoke the exit_app command.

Parameters

ParameterType
settingsSettings

Returns

Promise<void>

Defined in

commands.ts:21


invokeInitSettings()

invokeInitSettings(): Promise<Settings>

Invoke the init_settings command.

Returns

Promise<Settings>

Defined in

commands.ts:38


invokeOpenWidgetResource()

invokeOpenWidgetResource(widgetId, path): Promise<void>

Invoke the open_widget_resource command.

Parameters

ParameterType
widgetIdnull | string
pathnull | string

Returns

Promise<void>

Defined in

commands.ts:28


invokeRefreshWidgetCollection()

invokeRefreshWidgetCollection(): Promise<WidgetConfigCollection>

Invoke the refresh_widget_collection command.

Returns

Promise<WidgetConfigCollection>

Defined in

commands.ts:45


invokeRegisterToggleShortcut()

invokeRegisterToggleShortcut(shortcut, reverse): Promise<void>

Invoke the register_toggle_shortcut command.

Parameters

ParameterType
shortcutstring
reverseboolean

Returns

Promise<void>

Defined in

commands.ts:52