Skip to content

AltairPanel

Used for dynamic panel elements. Can also be used for angular components in the future.

Constructors

new AltairPanel()

new AltairPanel(title: string, element: HTMLElement, location: AltairPanelLocation, engine?: PluginParentEngine, iconUrl?: string, iconSvg?: SafeHtml): AltairPanel

Parameters

title: string

element: HTMLElement

location: AltairPanelLocation

engine?: PluginParentEngine

iconUrl?: string

iconSvg?: SafeHtml

Returns

AltairPanel

Properties

element

element: HTMLElement


engine?

optional engine: PluginParentEngine


iconSvg?

optional iconSvg: SafeHtml


iconUrl?

optional iconUrl: string


id

id: string


isActive

isActive: boolean = false


location

location: AltairPanelLocation


title

title: string

Methods

destroy()

destroy(): void

Returns

void


setActive()

setActive(isActive: boolean): void

Parameters

isActive: boolean

Returns

void