import IHTMLFormControlsCollection from './IHTMLFormControlsCollection.js'; import IHTMLInputElement from '../html-input-element/IHTMLInputElement.js'; import IHTMLTextAreaElement from '../html-text-area-element/IHTMLTextAreaElement.js'; import IHTMLSelectElement from '../html-select-element/IHTMLSelectElement.js'; import RadioNodeList from './RadioNodeList.js'; import IHTMLButtonElement from '../html-button-element/IHTMLButtonElement.js'; /** * HTMLFormControlsCollection. * * @see https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormControlsCollection */ export default class HTMLFormControlsCollection extends Array implements IHTMLFormControlsCollection { _namedItems: { [k: string]: RadioNodeList; }; /** * Returns item by index. * * @param index Index. */ item(index: number): IHTMLInputElement | IHTMLTextAreaElement | IHTMLSelectElement | IHTMLButtonElement | null; /** * Returns named item. * * @param name Name. * @returns Node. */ namedItem(name: string): IHTMLInputElement | IHTMLTextAreaElement | IHTMLSelectElement | IHTMLButtonElement | RadioNodeList | null; /** * Appends named item. * * @param node Node. * @param name Name. */ _appendNamedItem(node: IHTMLInputElement | IHTMLTextAreaElement | IHTMLSelectElement | IHTMLButtonElement, name: string): void; /** * Appends named item. * * @param node Node. * @param name Name. */ _removeNamedItem(node: IHTMLInputElement | IHTMLTextAreaElement | IHTMLSelectElement | IHTMLButtonElement, name: string): void; /** * Returns "true" if the property name is valid. * * @param name Name. * @returns True if the property name is valid. */ protected _isValidPropertyName(name: string): boolean; } //# sourceMappingURL=HTMLFormControlsCollection.d.ts.map