Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ModeSwitchServiceInterface

Hierarchy

  • ModeSwitchServiceInterface

Index

Methods

switchToMode

  • switchToMode(name: ModeState, onClose?: () => {}): Promise<void>
  • Switch to given mode if authorized. Closes current mode and related toolbox.

    Parameters

    • name: ModeState

      The mode to switch to

    • Optional onClose: () => {}

      Callback when the mode is closed

        • (): {}
        • Returns {}

      Returns Promise<void>

    Generated using TypeDoc