HTMLSelectElement.idl [plain text]
[
CustomIndexedSetter,
ExportMacro=WEBCORE_EXPORT,
JSGenerateToNativeObject,
] interface HTMLSelectElement : HTMLElement {
[Reflect] attribute boolean autofocus;
[Reflect] attribute boolean disabled;
readonly attribute HTMLFormElement? form;
attribute boolean multiple;
[Reflect] attribute DOMString name;
[Reflect] attribute boolean required;
attribute unsigned long size;
readonly attribute DOMString type;
readonly attribute HTMLOptionsCollection options;
[CEReactions, SetterMayThrowException] attribute unsigned long length;
getter HTMLOptionElement? item(unsigned long index);
HTMLOptionElement? namedItem(DOMString name);
[CEReactions, MayThrowException] void add((HTMLOptionElement or HTMLOptGroupElement) element, optional (HTMLElement or long)? before = null);
[MayThrowException] void remove(); [CEReactions] void remove(HTMLOptionElement option); [CEReactions] void remove(long index);
readonly attribute HTMLCollection selectedOptions;
attribute long selectedIndex;
attribute DOMString value;
readonly attribute boolean willValidate;
readonly attribute ValidityState validity;
readonly attribute DOMString validationMessage;
boolean checkValidity();
[EnabledAtRuntime=InteractiveFormValidation] boolean reportValidity();
void setCustomValidity(DOMString? error);
readonly attribute NodeList labels;
attribute DOMString autocomplete;
};