Interface: ToolbarApi

ToolbarApi.ToolbarApi

Description

Refer to ToolbarApiV1

Properties

Properties

createToolbarContent

createToolbarContent: (slot: ToolbarSlotName, toolbarContent: ToolbarContent) => void

Type declaration

▸ (slot, toolbarContent): void

Deprecated

Use 'v1.createToolbarContent' instead.

Parameters
Name Type
slot ToolbarSlotName
toolbarContent ToolbarContent
Returns

void


hideToolbar

hideToolbar: (slot: ToolbarSlotName) => void

Type declaration

▸ (slot): void

Deprecated

Use 'v1.hideToolbar' instead.

Parameters
Name Type
slot ToolbarSlotName
Returns

void


modifyToolbarContent

modifyToolbarContent: (slot: ToolbarSlotName, factoryFn: ToolbarFactory) => void

Type declaration

▸ (slot, factoryFn): void

Deprecated

Use 'v1.modifyToolbarContent' instead.

Parameters
Name Type
slot ToolbarSlotName
factoryFn ToolbarFactory
Returns

void


showToolbar

showToolbar: (slot: ToolbarSlotName) => void

Type declaration

▸ (slot): void

Deprecated

Use 'v1.showToolbar' instead.

Parameters
Name Type
slot ToolbarSlotName
Returns

void


v1

v1: ToolbarApiV1

Contains the updated v1 version of the ToolbarApi