Resource Base
Table of contents

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.

This page is compatible for:

Is this page helpful?

YesYes NoNo

In this article:

latest version

    • Latest version(2.0)
    • Version 1.x
      • Version 1.1
    Change +