Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ActiveDescendantFocusHookOptions<E>

internal
remarks

@since 5.0.0

Type parameters

  • E: HTMLElement

Hierarchy

Index

Properties

defaultActiveId?: string

An optional DOM id for one of the children that should be focused by default.

onDecrement?: KeyboardFocusHandler<E>

This is called whenever one of the {@link KeyboardMovementBehavior.decrementKeys} are pressed.

onFocus?: FocusEventHandler<E>
onIncrement?: KeyboardFocusHandler<E>

This is called whenever one of the {@link KeyboardMovementBehavior.incrementKeys} are pressed.

onJumpToFirst?: KeyboardFocusHandler<E>

This is called whenever one of the {@link KeyboardMovementBehavior.jumpToFirstKeys} are pressed.

onJumpToLast?: KeyboardFocusHandler<E>

This is called whenever one of the {@link KeyboardMovementBehavior.jumpToLastKeys} are pressed.

onKeyDown?: KeyboardEventHandler<E>
onSearch?: KeyboardFocusHandler<E>

This is called whenever a single letter has been pressed and KeyboardMovementBehavior.searchable is true.

Generated using TypeDoc