useLegendAction
@elastic/charts • Exports
@elastic/charts / useLegendAction
Function: useLegendAction()
useLegendAction<
T
>(): [LegacyRef
<T
>, () =>void
]
This hook handles a11y focus management closing of the action popover
Type parameters
• T extends HTMLElement
Returns
[LegacyRef
<T
>, () => void
]
Source
packages/charts/src/utils/use_legend_action.ts:17
Generated using typedoc-plugin-markdown and TypeDoc