Interface: AmnesiaFocusClaimHandlers
Defined in: use-scopes.ts:28
Handlers returned by useAmnesiaFocusClaim. Spread onto a focusable
element (or an outer container with tabIndex={-1}) to mark the scope
as active whenever the element or any descendant gains focus.
Properties
onFocusCapture
onFocusCapture:
FocusEventHandler<Element>
Defined in: use-scopes.ts:33
Capture-phase focus handler. Claims scopeId whenever any element in
the subtree receives focus.
onPointerDownCapture
onPointerDownCapture:
PointerEventHandler<Element>
Defined in: use-scopes.ts:40
Capture-phase pointer-down handler. Claims scopeId on the first
pointer interaction even before focus fires (e.g. on click into a
non-focusable region styled as the active surface).