Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ToolboxPanel

Base class for all toolbox property panels.

Hierarchy

Index

Constructors

Properties

Accessors

Methods

Constructors

constructor

  • new ToolboxPanel(title: string, icon?: string, id?: string): ToolboxPanel
  • Create panel with supplied title and icon.

    Parameters

    • title: string

      panel name (used for accessibility)

    • Optional icon: string

      panel button icon (SVG image markup)

    • Optional id: string

      panel ID

    Returns ToolboxPanel

Properties

Protected Optional _id

_id: string

icon

icon: string

Panel button icon as an SVG markup.

title

title: string

Panel name/title.

uiStyleSettings

uiStyleSettings: IStyleSettings

UI style settings for colors, etc.

Accessors

id

  • get id(): string | undefined
  • Panel ID.

    Returns string | undefined

Methods

Abstract getUi

  • getUi(): HTMLDivElement
  • Returns toolbox panel UI.

    Returns HTMLDivElement

Generated using TypeDoc