版博士V2.0程序
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
 
 
 
 

29 строки
669 B

  1. import Event from '../../event/Event';
  2. import IHTMLElement from '../html-element/IHTMLElement';
  3. /**
  4. * HTML Dialog Element.
  5. *
  6. * Reference:
  7. * https://developer.mozilla.org/en-US/docs/Web/API/HTMLDialogElement.
  8. */
  9. export default interface IHTMLDialogElement extends IHTMLElement {
  10. open: boolean;
  11. returnValue: string;
  12. oncancel: (event: Event) => void | null;
  13. onclose: (event: Event) => void | null;
  14. /**
  15. * Closes the dialog.
  16. *
  17. * @param [returnValue] ReturnValue.
  18. */
  19. close(returnValue?: string): void;
  20. /**
  21. * Shows the modal.
  22. */
  23. showModal(): void;
  24. /**
  25. * Shows the dialog.
  26. */
  27. show(): void;
  28. }