No puede seleccionar más de 25 temas
Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.
|
- import Event from '../../event/Event';
- import HTMLElement from '../html-element/HTMLElement';
- import IHTMLDialogElement from './IHTMLDialogElement';
- /**
- * HTML Dialog Element.
- *
- * Reference:
- * https://developer.mozilla.org/en-US/docs/Web/API/HTMLDialogElement.
- */
- export default class HTMLDialogElement extends HTMLElement implements IHTMLDialogElement {
- returnValue: string;
- oncancel: (event: Event) => void | null;
- onclose: (event: Event) => void | null;
- /**
- * Returns open.
- *
- * @returns Open.
- */
- get open(): boolean;
- /**
- * Closes the dialog.
- *
- * @param [returnValue] ReturnValue.
- */
- close(returnValue?: string): void;
- /**
- * Shows the modal.
- */
- showModal(): void;
- /**
- * Shows the dialog.
- */
- show(): void;
- }
|