ToolbarConfig
Syntax
interface ToolbarConfig {
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
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
.