ToolbarConfig
Syntax
interface ToolbarConfig {
enabled?: boolean;
id?: string;
className?: string; // the className of CSS
style?: CssStyleDeclaration; // the style of the toolbar
paletteButton?: AnnotationToolbarButton; // The configuration of palette button
deleteButton?: AnnotationToolbarButton; // The configuration of delete button
}
Attributes
enabled
Whether or not the toolbar is enabled.
Default value: true
id
The id of Dom Element. If it is not specified, a random string will be generated.
className
The className of CSS.
style
The style which will cover CSS.
paletteButton
The configuration of palette button in the toolbar. Please refer to AnnotationToolbarButton.
deleteButton
The configuration of delete button in the toolbar. Please refer to AnnotationToolbarButton.