Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

constructor

Methods

activate

  • activate(): Promise<void>
  • Activate the ribbon element.
    If a ribbon element is activated, its background will be darker.

    Returns Promise<void>

deactivate

  • deactivate(): Promise<void>

disable

  • disable(): Promise<void>

enable

  • enable(): Promise<void>

getTooltip

  • getTooltip(): Promise<string>

isActivate

  • isActivate(): Promise<boolean>

isEnabled

  • isEnabled(): Promise<boolean>
  • Get if the ribbon element is enable. If a ribbon element is disabled, it can be clicked and its color turned grey.

    Returns Promise<boolean>

setDescription

  • setDescription(description: string): Promise<void>
  • Set the description of the ribbon element.

    Parameters

    • description: string

    Returns Promise<void>

setTooltip

  • setTooltip(tooltip: string): Promise<void>
  • Set the tool tip of the ribbon element.

    Parameters

    • tooltip: string

    Returns Promise<void>