Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ActiveDescendantHookReturnValue<E>

remarks

@since 5.0.0

Type parameters

  • E: HTMLElement

Hierarchy

  • ActiveDescendantHookReturnValue

Index

Properties

Properties

active: boolean

Boolean if this element is the current focus. This is useful for adding a focus class name since this element actually does not gain focus while active.

ref: (instance: null | E) => void

Type declaration

    • (instance: null | E): void
    • A ref handler that must be provided to the DOM element for the active descendant movement to work correctly.

      Parameters

      • instance: null | E

      Returns void

Generated using TypeDoc