modal.d.ts 295 B

12345678910
  1. export default class Modal {
  2. element: HTMLElement;
  3. tabDirection: 'forward' | 'backward';
  4. constructor(element: HTMLElement);
  5. activate(): void;
  6. deactivate(): void;
  7. isActive(): boolean;
  8. handleFocusIn(event: Event): void;
  9. handleKeyDown(event: KeyboardEvent): void;
  10. }