UNPKG

office-ui-fabric-react

Version:

Reusable React components for building experiences for Office 365.

31 lines (30 loc) 977 B
export interface IAccessiblePopupProps { /** * Sets the HTMLElement to focus on when exiting the FocusTrapZone. * @defaultvalue The element.target that triggered the Panel. */ elementToFocusOnDismiss?: HTMLElement; /** * Indicates if this dialog will ignore keeping track of HTMLElement that activated the Zone. * @defaultvalue false */ ignoreExternalFocusing?: boolean; /** * Indicates whether dialog should force focus inside the focus trap zone * @defaultvalue true */ forceFocusInsideTrap?: boolean; /** * Indicates the selector for first focusable item */ firstFocusableSelector?: string | (() => string); /** * Aria label on close button */ closeButtonAriaLabel?: string; /** * Indicates if this dialog will allow clicks outside the FocusTrapZone * @defaultvalue false */ isClickableOutsideFocusTrap?: boolean; }