Type Alias HookModeChanged

HookModeChanged: (mode: { ex: string; now: string }) => void

Hook triggered when the mode changes.

Type declaration

    • (mode: { ex: string; now: string }): void
    • Parameters

      • mode: { ex: string; now: string }

        Object containing previous and current mode.

        • ex: string

          Previous mode.

        • now: string

          Current mode.

      Returns void