UNPKG

@awsui/components-react

Version:

AWS UI is a collection of [React](https://reactjs.org/) components that help create intuitive, responsive, and accessible user experiences for web applications. It is developed by Amazon Web Services (AWS). This work is available under the terms of the [A

19 lines (18 loc) 505 B
interface FocusTrackerOptions { onFocusEnter: () => void; onFocusLeave: () => void; } export default class FocusTracker { private node; private readonly onFocusLeave; private readonly onFocusEnter; private currentlyFocused; constructor(node: HTMLElement, { onFocusEnter, onFocusLeave }: FocusTrackerOptions); initialize(): void; destroy(): void; private focusInListener; private focusOutListener; private triggerBlur; private triggerFocus; } export {};