Generated API snapshot
@askrjs/askr/foundations/interactions
Exports from the declarations published in @askrjs/askr 0.0.59. Signatures are generated from the installed artifact.
@askrjs/askr/foundations/interactions0.0.59
Exports
This entrypoint publishes 18 exports. Use the anchored symbol rows for direct links. Type-only exports are labeled separately from runtime values.
applyInteractionPolicytype
applyInteractionPolicy: ({ isNative, disabled, onPress, ref }: InteractionPolicyInput) => { disabled: true | undefined; onClick: (e: Event) => void; ref: Ref<unknown>; } | { tabIndex: number; ref: Ref<unknown>; "aria-disabled"?: "true"; onClick: (e: DefaultPreventable & PropagationStoppable) => void; disabled?: true; role?: "button"; onKeyDown?: (e: KeyboardLikeEvent) => void; onKeyUp?: (e: KeyboardLikeEvent) => void; }dismissabletype
dismissable: ({ node, disabled, onDismiss }: DismissableOptions) => { onKeyDown: (e: KeyboardLikeEvent) => void; onPointerDownCapture: (e: PointerLikeEvent) => void; }DismissableOptionstype
DismissableOptions: anyfocusabletype
focusable: ({ disabled, tabIndex }: FocusableOptions) => FocusableResultFocusableOptionstype
FocusableOptions: anyFocusableResulttype
FocusableResult: anyhoverabletype
hoverable: ({ disabled, onEnter, onLeave }: HoverableOptions) => HoverableResultHoverableOptionstype
HoverableOptions: anyHoverableResulttype
HoverableResult: anyInteractionPolicyInputtype
InteractionPolicyInput: anymergeInteractionPropstype
mergeInteractionProps: (childProps: Record<string, unknown>, policyProps: Record<string, unknown>, userProps?: Record<string, unknown>) => Record<string, unknown>Orientationtype
Orientation: anypressabletype
pressable: ({ disabled, onPress, isNativeButton }: PressableOptions) => PressableResultPressableOptionstype
PressableOptions: anyPressableResulttype
PressableResult: anyrovingFocustype
rovingFocus: (options: RovingFocusOptions) => RovingFocusResultRovingFocusOptionstype
RovingFocusOptions: anyRovingFocusResulttype
RovingFocusResult: any