Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

2.1 Extensions to the Element Interface

Extensions have been added to the Element interface of the Document Object Model (DOM) Level 2 Core Specification [DOM Level 2 - Core]. The extensions of the Element interface are:

Attributes

The Elements interface is extended by the following attributes. For details, see Attributes.

Methods

The Elements interface is extended by the following methods. For details, see Methods.

Collections

The Elements interface is extended by the following collections. For details, see Collections.

The following IDL definition documents the Element interface:

interface Element : Node {
// Extension of DOM Level 2:
  readonly attribute boolean        canHaveChildren;
  readonly attribute boolean        canHaveHTML;
  readonly attribute boolean        parentElement;
  readonly attribute long           sourceIndex;
// Extension of DOM Level 2:
Element              applyElement
void                 clearAttributes;
boolean              contains;
Node                 insertAdjacentElement
Node                 mergeAttributes
boolean              removeNode;
Node                 replaceNode (in Node newNode)
                                        raises(DOMException);
Node                 swapNode;
};
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.