@igor2017/sat-popover
Version:
Popover component for Angular
16 lines • 815 B
TypeScript
export type SatPopoverScrollStrategy = 'noop' | 'block' | 'reposition' | 'close';
export declare const VALID_SCROLL: SatPopoverScrollStrategy[];
export type SatPopoverHorizontalAlign = 'before' | 'start' | 'center' | 'end' | 'after';
export declare const VALID_HORIZ_ALIGN: SatPopoverHorizontalAlign[];
export type SatPopoverVerticalAlign = 'above' | 'start' | 'center' | 'end' | 'below';
export declare const VALID_VERT_ALIGN: SatPopoverVerticalAlign[];
export interface SatPopoverOpenOptions {
/**
* Whether the popover should return focus to the previously focused element after
* closing. Defaults to true.
*/
restoreFocus?: boolean;
/** Whether the first focusable element should be focused on open. Defaults to true. */
autoFocus?: boolean;
}
//# sourceMappingURL=types.d.ts.map