Options
All
  • Public
  • Public/Protected
  • All
Menu

Class SidebarOption

Hierarchy

Index

Constructors

constructor

  • Parameters

    • root: any

    Returns SidebarOption

Methods

getId

  • getId(): string
  • Should return the id, used for css and translations

    Returns string

getKeyMapping

  • getKeyMapping(): string
  • Returns the key mapping id, or null. Can be overridden

    Returns string

isActive

  • isActive(): boolean
  • Should return if this sidebar option is currently active (i.e. a view which can get toggled)

    Returns boolean

tryPerform

  • tryPerform(): void
  • Tries to perform the option

    Returns void

update

  • update(): void
  • Updates the option

    Returns void