Options for status bar items.


  • IItem


activeStateChanged?: ISignal<any, void>

A signal that is fired when the item active state changes.

align?: Alignment

Which side to place item. Permanent items are intended for the right and left side, with more transient items in the middle.

isActive?: (() => boolean)

Type declaration

    • (): boolean
    • Whether the item is shown or hidden.

      Returns boolean

item: Widget

The item to add to the status bar.

priority?: number

Displaying Items based on zoom priority -- higher zoom priority gets prioritised when zoom levels increase

rank?: number

Ordering of Items -- higher rank items are closer to the middle.

Generated using TypeDoc