Interface: IToolbarService

Public toolbar service for toolbar customization

Properties

allToolbars

allToolbars: IToolbar[]

Returns an array of all toolbar instances that are loaded in the review interface

Methods

createToolbarControl()

createToolbarControl(config): Promise<IToolbarControl>

Creates a toolbar control

Parameters

config: IToolbarControlConfig

The toolbar configuration

Returns

Promise<IToolbarControl>

A new toolbar control if successful, undefined if an error occurred


getToolbarById()

getToolbarById(id): IToolbar

Retrieves an IToolbar by ID

Parameters

id: string

ID of the toolbar to retrieve

Returns

IToolbar

Toolbar with the given ID