Pilates
    Preparing search index...

    Interface UseFocusValue

    interface UseFocusValue {
        blur: () => void;
        focus: () => void;
        id: string;
        isFocused: boolean;
    }
    Index

    Properties

    Properties

    blur: () => void

    Clears focus iff this registration is currently focused.

    focus: () => void

    Imperatively focus this registration. No-op when focus is disabled.

    id: string

    The id this hook is registered under (matches options.id when given).

    isFocused: boolean

    True iff the manager's focusedId matches this registration AND focus is enabled AND isActive.