import HTMLElement from '../html-element/HTMLElement.js'; import IHTMLElement from '../html-element/IHTMLElement.js'; import IHTMLFormElement from '../html-form-element/IHTMLFormElement.js'; import IHTMLLabelElement from './IHTMLLabelElement.js'; import Event from '../../event/Event.js'; /** * HTML Label Element. * * Reference: * https://developer.mozilla.org/en-US/docs/Web/API/HTMLLabelElement. */ export default class HTMLLabelElement extends HTMLElement implements IHTMLLabelElement { /** * Returns a string containing the ID of the labeled control. This reflects the "for" attribute. * * @returns ID of the labeled control. */ get htmlFor(): string; /** * Sets a string containing the ID of the labeled control. This reflects the "for" attribute. * * @param htmlFor ID of the labeled control. */ set htmlFor(htmlFor: string); /** * Returns an HTML element representing the control with which the label is associated. * * @returns Control element. */ get control(): IHTMLElement; /** * Returns the parent form element. * * @returns Form. */ get form(): IHTMLFormElement; /** * Clones a node. * * @override * @param [deep=false] "true" to clone deep. * @returns Cloned node. */ cloneNode(deep?: boolean): IHTMLLabelElement; /** * @override */ dispatchEvent(event: Event): boolean; } //# sourceMappingURL=HTMLLabelElement.d.ts.map