popup.d.ts 655 B

123456789101112131415161718192021222324
  1. import { ContextMenu } from './context_menu.js';
  2. import { AbstractPostable } from './abstract_postable.js';
  3. export declare class Popup extends AbstractPostable {
  4. private title;
  5. private static popupSettings;
  6. private menu;
  7. private content;
  8. private window;
  9. private localSettings;
  10. private windowList;
  11. private mobileFlag;
  12. private active;
  13. static fromJson(): void;
  14. constructor(title: string, content: Function);
  15. attachMenu(menu: ContextMenu): void;
  16. post(): void;
  17. protected display(): void;
  18. unpost(): void;
  19. private generateContent;
  20. private resize;
  21. toJson(): {
  22. type: string;
  23. };
  24. }