Hosanna UI API v2.3.0-next
    Preparing search index...
    interface HsInputEvent<
        T extends IHosannaView<ViewState> = IHosannaView<ViewState>,
    > {
        consumed?: boolean;
        direction: api.Direction;
        isFocusHandledByView?: boolean;
        isInputCancelled?: boolean;
        isKeyPress?: boolean;
        isKeyRelease?: boolean;
        isNavigationFocusResolution?: boolean;
        key: Key;
        keyState: KeyState;
        longPress?: HsLongPressInfo;
        nativeEvent?: unknown;
        phase?: HsInputPhase;
        pointerId?: number;
        pointerType?: string;
        preventDefault?: boolean;
        rawKey?: string;
        sceneX?: number;
        sceneY?: number;
        sourceAdapter?: string;
        target?: IHosannaView<ViewState>;
        timestamp: number;
        type: string;
        view: T;
    }

    Type Parameters

    • T extends IHosannaView<ViewState> = IHosannaView<ViewState>

    Hierarchy

    • HsBaseInputEvent
    • ViewEvent<T>
      • HsInputEvent
    Index

    Properties

    consumed?: boolean
    direction: api.Direction
    isFocusHandledByView?: boolean
    isInputCancelled?: boolean
    isKeyPress?: boolean
    isKeyRelease?: boolean
    isNavigationFocusResolution?: boolean

    True only while FocusManager is resolving a globally paced directional navigation tick.

    key: Key
    keyState: KeyState
    longPress?: HsLongPressInfo
    nativeEvent?: unknown
    phase?: HsInputPhase
    pointerId?: number
    pointerType?: string
    preventDefault?: boolean
    rawKey?: string
    sceneX?: number
    sceneY?: number
    sourceAdapter?: string
    target?: IHosannaView<ViewState>
    timestamp: number
    type: string
    view: T