HTMLOptionsCollection.idl 570 B

123456789101112
  1. #import <DOM/HTMLCollection.idl>
  2. #import <HTML/HTMLOptionElement.idl>
  3. #import <HTML/HTMLOptGroupElement.idl>
  4. [Exposed=Window]
  5. interface HTMLOptionsCollection : HTMLCollection {
  6. // [CEReactions] attribute unsigned long length; // shadows inherited length
  7. // [CEReactions] setter undefined (unsigned long index, HTMLOptionElement? option);
  8. [CEReactions] undefined add((HTMLOptionElement or HTMLOptGroupElement) element, optional (HTMLElement or long)? before = null);
  9. // [CEReactions] undefined remove(long index);
  10. // attribute long selectedIndex;
  11. };