hosanna-ui-docs - v0.9.0
    Preparing search index...

    FocusManager is responsible for managing focus within the application. It handles key events, focus transitions, and focus locking mechanisms.

    Implements

    Index

    Constructors

    Properties

    currentKeyEventInfo: IKeyEventInfo = ...
    focusDebugGroup?: ISGNGroup

    Debug group for visualizing focus.

    focusDebugLabel?: ISGNLabel

    Debug label for visualizing focus.

    focusDebugRect?: ISGNRectangle

    Debug rectangle for visualizing focus.

    focusedView?: IFocusable

    The currently focused view.

    focusLockedView?: IFocusable

    The view on which focus is locked.

    isAppLaunching: boolean = false
    isFocusLocked: boolean = false

    Indicates whether focus is currently locked.

    isLockedOnNativeRenderer: boolean = false

    Indicates whether the focus is locked on the native renderer.

    isPendingKeyEventInfo: boolean = false
    keyEvent: KeyEvent = ...

    The current key event being processed.

    keyMap: Record<string, Key> = ...

    A mapping of key strings to Key enums.

    keyToDirectionMap: Record<string, api.Direction> = ...

    A mapping of keys to navigation directions.

    lastFocusedView: undefined | IFocusable

    The last view that was focused.

    longPressTriggered: boolean = false

    Indicates whether a long press has been triggered.

    Injected system service for accessing system-level utilities.

    textToSpeechManager: ITextToSpeechManager

    Methods