HTMLAllCollection.idl 509 B

123456789101112
  1. #import <DOM/Element.idl>
  2. #import <DOM/HTMLCollection.idl>
  3. [Exposed=Window, LegacyUnenumerableNamedProperties]
  4. interface HTMLAllCollection {
  5. readonly attribute unsigned long length;
  6. getter Element (unsigned long index);
  7. getter (HTMLCollection or Element)? namedItem([FlyString] DOMString name);
  8. (HTMLCollection or Element)? item(optional [FlyString] DOMString nameOrIndex);
  9. // Note: HTMLAllCollection objects have a custom [[Call]] internal method and an [[IsHTMLDDA]] internal slot.
  10. };