WebIDLpedia

Attr interface

Definition

DOM Standard defines Attr



[Exposed=Window]
interface Attr : Node {
  readonly attribute DOMString? namespaceURI;
  readonly attribute DOMString? prefix;
  readonly attribute DOMString localName;
  readonly attribute DOMString name;
  [CEReactions] attribute DOMString value;

  readonly attribute Element? ownerElement;

  readonly attribute boolean specified; // useless; always returns true
};

Methods and attributes that return objects implementing Attr

Referring IDL interfaces/dictionaries