Class AbstractButtonAbstract

Base class for navbar buttons

Hierarchy (view full)

Constructors

Properties

config: ButtonConfig
container: HTMLElement

Container element

state: {
    active: boolean;
    collapsed: boolean;
    enabled: boolean;
    supported: boolean;
    visible: boolean;
    width: number;
} = ...

Internal properties

viewer: Viewer

Reference to main controller

groupId?: string

Identifier to declare a group of buttons

id: string

Unique identifier of the button

Accessors

Methods