Class and Description |
---|
Document
Each web page loaded in the browser has its own document object.
|
Class and Description |
---|
Attr
This type represents a DOM element's attribute as an object.
|
CDATASection
A CDATA Section can be used within XML to include extended portions of unescaped text, such that the symbols < and & do not need escaping as they normally do within XML when used as text.
|
CharacterData |
Comment
A comment is used to add notations within markup; although it is generally not displayed, it is still available to be read in the source view (in Firefox: View -> Page Source). These are represented in HTML and XML as content between
<!-- and --> . |
Coordinates |
DataTransferItem |
DataTransferItemList |
Document
Each web page loaded in the browser has its own document object.
|
DocumentFragment
DocumentFragment has no properties or methods of its own, but inherits from
Node . |
DocumentType
NOTE: This interface is not fully supported in Mozilla at present, including for indicating internalSubset information which Gecko generally does otherwise support.
|
DOMImplementation
Provides methods which are not dependent on any particular DOM instances.
|
DOMTokenList
This type represents a set of space-separated tokens.
|
Element
This chapter provides a brief reference for the general methods, properties, and events available to most HTML and XML elements in the Gecko DOM.
|
ElementTraversal |
EntityReference
NOTE: This is not implemented in Mozilla
|
Geoposition |
MediaStream |
MediaStreamTrack |
MediaStreamTrackList |
NamedNodeMap
A collection of nodes returned by
Element.attributes (also potentially for DocumentType.entities , DocumentType.notations ). |
Node
A
Node is an interface from which a number of DOM types inherit, and allows these various types to be treated (or tested) similarly.The following all inherit this interface and its methods and properties (though they may return null in particular cases where not relevant; or throw an exception when adding children to a node type for which no children can exist): Document
, Element
, Attr
, CharacterData
(which Text
, Comment
, and CDATASection
inherit), ProcessingInstruction
, DocumentFragment
, DocumentType
, Notation
, Entity
, EntityReference |
NodeList
NodeList objects are collections of nodes returned by
getElementsByTagName , getElementsByTagNameNS , Node.childNodes
, querySelectorAll, getElementsByClassName , etc.NodeList objects are collections of nodes returned by getElementsByTagName , getElementsByTagNameNS , Node.childNodes
, querySelectorAll, getElementsByClassName , etc. |
NodeSelector |
PositionCallback |
PositionError |
PositionErrorCallback |
ProcessingInstruction
A processing instruction provides an opportunity for application-specific instructions to be embedded within XML and which can be ignored by XML processors which do not support processing their instructions (outside of their having a place in the DOM).
|
ScriptProfileNode |
SpeechGrammar |
SpeechGrammarList |
SpeechInputResult |
SpeechInputResultList |
SpeechRecognitionAlternative |
SpeechRecognitionResult |
StringCallback |
Text
In the DOM, the Text interface represents the textual content of an Element or Attr. If an element has no markup within its content, it has a single child implementing Text that contains the element's text. However, if the element contains markup, it is parsed into information items and Text nodes that form its children.
|
Class and Description |
---|
Clipboard
widget/public/nsIClipboard.idl ScriptableThis interface supports basic clipboard operations such as: setting, retrieving, emptying, matching and supporting clipboard data.Inherits from: nsISupports
Last changed in Gecko 1.8 (Firefox 1.5 / Thunderbird 1.5 / SeaMonkey 1.0)
|
MediaStream |
Node
A
Node is an interface from which a number of DOM types inherit, and allows these various types to be treated (or tested) similarly.The following all inherit this interface and its methods and properties (though they may return null in particular cases where not relevant; or throw an exception when adding children to a node type for which no children can exist): Document
, Element
, Attr
, CharacterData
(which Text
, Comment
, and CDATASection
inherit), ProcessingInstruction
, DocumentFragment
, DocumentType
, Notation
, Entity
, EntityReference |
SpeechRecognitionError |
SpeechRecognitionResult |
SpeechRecognitionResultList |
Class and Description |
---|
Document
Each web page loaded in the browser has its own document object.
|
DocumentFragment
DocumentFragment has no properties or methods of its own, but inherits from
Node . |
DOMError |
DOMException
The following are the DOMException codes:
|
DOMSettableTokenList |
Element
This chapter provides a brief reference for the general methods, properties, and events available to most HTML and XML elements in the Gecko DOM.
|
ElementTraversal |
Geolocation |
LocalMediaStream |
MediaStream |
MediaStreamList |
MediaStreamTrackList |
Node
A
Node is an interface from which a number of DOM types inherit, and allows these various types to be treated (or tested) similarly.The following all inherit this interface and its methods and properties (though they may return null in particular cases where not relevant; or throw an exception when adding children to a node type for which no children can exist): Document
, Element
, Attr
, CharacterData
(which Text
, Comment
, and CDATASection
inherit), ProcessingInstruction
, DocumentFragment
, DocumentType
, Notation
, Entity
, EntityReference |
NodeList
NodeList objects are collections of nodes returned by
getElementsByTagName , getElementsByTagNameNS , Node.childNodes
, querySelectorAll, getElementsByClassName , etc.NodeList objects are collections of nodes returned by getElementsByTagName , getElementsByTagNameNS , Node.childNodes
, querySelectorAll, getElementsByClassName , etc. |
NodeSelector |
PointerLock |
RequestAnimationFrameCallback |
ShadowRoot |
SpeechGrammar |
SpeechGrammarList |
SpeechRecognition |
TimeoutHandler |
Class and Description |
---|
ElementalMixinBase |
ElementTraversal |
NodeSelector |
Class and Description |
---|
Attr
This type represents a DOM element's attribute as an object.
|
CDATASection
A CDATA Section can be used within XML to include extended portions of unescaped text, such that the symbols < and & do not need escaping as they normally do within XML when used as text.
|
CharacterData |
Clipboard
widget/public/nsIClipboard.idl ScriptableThis interface supports basic clipboard operations such as: setting, retrieving, emptying, matching and supporting clipboard data.Inherits from: nsISupports
Last changed in Gecko 1.8 (Firefox 1.5 / Thunderbird 1.5 / SeaMonkey 1.0)
|
Comment
A comment is used to add notations within markup; although it is generally not displayed, it is still available to be read in the source view (in Firefox: View -> Page Source). These are represented in HTML and XML as content between
<!-- and --> . |
Coordinates |
DataTransferItem |
DataTransferItemList |
DeviceMotionEvent
A
DeviceMotionEvent object describes an event that indicates the amount of physical motion of the device that has occurred, and is fired at a set interval (rather than in response to motion). |
DeviceOrientationEvent
A
DeviceOrientationEvent object describes an event that provides information about the current orientation of the device as compared to the Earth coordinate frame. |
Document
Each web page loaded in the browser has its own document object.
|
DocumentFragment
DocumentFragment has no properties or methods of its own, but inherits from
Node . |
DocumentType
NOTE: This interface is not fully supported in Mozilla at present, including for indicating internalSubset information which Gecko generally does otherwise support.
|
DOMError |
DOMException
The following are the DOMException codes:
|
DOMImplementation
Provides methods which are not dependent on any particular DOM instances.
|
DOMSettableTokenList |
DOMTokenList
This type represents a set of space-separated tokens.
|
Element
This chapter provides a brief reference for the general methods, properties, and events available to most HTML and XML elements in the Gecko DOM.
|
ElementalMixinBase |
ElementTraversal |
Entity
NOTE: This is not implemented in Mozilla
|
EntityReference
NOTE: This is not implemented in Mozilla
|
Geolocation |
Geoposition |
LocalMediaStream |
MediaStream |
MediaStreamList |
MediaStreamTrack |
MediaStreamTrackList |
MutationRecord |
NamedNodeMap
A collection of nodes returned by
Element.attributes (also potentially for DocumentType.entities , DocumentType.notations ). |
Node
A
Node is an interface from which a number of DOM types inherit, and allows these various types to be treated (or tested) similarly.The following all inherit this interface and its methods and properties (though they may return null in particular cases where not relevant; or throw an exception when adding children to a node type for which no children can exist): Document
, Element
, Attr
, CharacterData
(which Text
, Comment
, and CDATASection
inherit), ProcessingInstruction
, DocumentFragment
, DocumentType
, Notation
, Entity
, EntityReference |
NodeList
NodeList objects are collections of nodes returned by
getElementsByTagName , getElementsByTagNameNS , Node.childNodes
, querySelectorAll, getElementsByClassName , etc.NodeList objects are collections of nodes returned by getElementsByTagName , getElementsByTagNameNS , Node.childNodes
, querySelectorAll, getElementsByClassName , etc. |
NodeSelector |
Notation
NOTE: This is not implemented in Mozilla
|
PointerLock |
PositionCallback |
PositionError |
PositionErrorCallback |
ProcessingInstruction
A processing instruction provides an opportunity for application-specific instructions to be embedded within XML and which can be ignored by XML processors which do not support processing their instructions (outside of their having a place in the DOM).
|
ScriptProfile |
ScriptProfileNode |
ShadowRoot |
SpeechGrammar |
SpeechGrammarList |
SpeechInputEvent |
SpeechInputResult |
SpeechInputResultList |
SpeechRecognition |
SpeechRecognitionAlternative |
SpeechRecognitionError |
SpeechRecognitionResult |
SpeechRecognitionResultList |
StringCallback |
Text
In the DOM, the Text interface represents the textual content of an Element or Attr. If an element has no markup within its content, it has a single child implementing Text that contains the element's text. However, if the element contains markup, it is parsed into information items and Text nodes that form its children.
|
WebKitMutationObserver |
WebKitNamedFlow |
Class and Description |
---|
ElementalMixinBase |
ElementTraversal |
Node
A
Node is an interface from which a number of DOM types inherit, and allows these various types to be treated (or tested) similarly.The following all inherit this interface and its methods and properties (though they may return null in particular cases where not relevant; or throw an exception when adding children to a node type for which no children can exist): Document
, Element
, Attr
, CharacterData
(which Text
, Comment
, and CDATASection
inherit), ProcessingInstruction
, DocumentFragment
, DocumentType
, Notation
, Entity
, EntityReference |
NodeSelector |
Class and Description |
---|
DOMSettableTokenList |
Element
This chapter provides a brief reference for the general methods, properties, and events available to most HTML and XML elements in the Gecko DOM.
|
ElementalMixinBase |
ElementTraversal |
MediaStream |
MediaStreamTrackList |
Node
A
Node is an interface from which a number of DOM types inherit, and allows these various types to be treated (or tested) similarly.The following all inherit this interface and its methods and properties (though they may return null in particular cases where not relevant; or throw an exception when adding children to a node type for which no children can exist): Document
, Element
, Attr
, CharacterData
(which Text
, Comment
, and CDATASection
inherit), ProcessingInstruction
, DocumentFragment
, DocumentType
, Notation
, Entity
, EntityReference |
NodeList
NodeList objects are collections of nodes returned by
getElementsByTagName , getElementsByTagNameNS , Node.childNodes
, querySelectorAll, getElementsByClassName , etc.NodeList objects are collections of nodes returned by getElementsByTagName , getElementsByTagNameNS , Node.childNodes
, querySelectorAll, getElementsByClassName , etc. |
NodeSelector |
RequestAnimationFrameCallback |
TimeoutHandler |
Class and Description |
---|
ElementalMixinBase |
ElementTraversal |
Node
A
Node is an interface from which a number of DOM types inherit, and allows these various types to be treated (or tested) similarly.The following all inherit this interface and its methods and properties (though they may return null in particular cases where not relevant; or throw an exception when adding children to a node type for which no children can exist): Document
, Element
, Attr
, CharacterData
(which Text
, Comment
, and CDATASection
inherit), ProcessingInstruction
, DocumentFragment
, DocumentType
, Notation
, Entity
, EntityReference |
NodeSelector |
Class and Description |
---|
ElementalMixinBase |
ElementTraversal |
NodeSelector |
Class and Description |
---|
Document
Each web page loaded in the browser has its own document object.
|
Element
This chapter provides a brief reference for the general methods, properties, and events available to most HTML and XML elements in the Gecko DOM.
|
ElementalMixinBase |
ElementTraversal |
Node
A
Node is an interface from which a number of DOM types inherit, and allows these various types to be treated (or tested) similarly.The following all inherit this interface and its methods and properties (though they may return null in particular cases where not relevant; or throw an exception when adding children to a node type for which no children can exist): Document
, Element
, Attr
, CharacterData
(which Text
, Comment
, and CDATASection
inherit), ProcessingInstruction
, DocumentFragment
, DocumentType
, Notation
, Entity
, EntityReference |
NodeSelector |
Class and Description |
---|
ElementalMixinBase |
ElementTraversal |
Node
A
Node is an interface from which a number of DOM types inherit, and allows these various types to be treated (or tested) similarly.The following all inherit this interface and its methods and properties (though they may return null in particular cases where not relevant; or throw an exception when adding children to a node type for which no children can exist): Document
, Element
, Attr
, CharacterData
(which Text
, Comment
, and CDATASection
inherit), ProcessingInstruction
, DocumentFragment
, DocumentType
, Notation
, Entity
, EntityReference |
NodeSelector |
Class and Description |
---|
Document
Each web page loaded in the browser has its own document object.
|
ElementalMixinBase |
ElementTraversal |
Node
A
Node is an interface from which a number of DOM types inherit, and allows these various types to be treated (or tested) similarly.The following all inherit this interface and its methods and properties (though they may return null in particular cases where not relevant; or throw an exception when adding children to a node type for which no children can exist): Document
, Element
, Attr
, CharacterData
(which Text
, Comment
, and CDATASection
inherit), ProcessingInstruction
, DocumentFragment
, DocumentType
, Notation
, Entity
, EntityReference |
NodeSelector |
Class and Description |
---|
ElementalMixinBase |
ElementTraversal |
Node
A
Node is an interface from which a number of DOM types inherit, and allows these various types to be treated (or tested) similarly.The following all inherit this interface and its methods and properties (though they may return null in particular cases where not relevant; or throw an exception when adding children to a node type for which no children can exist): Document
, Element
, Attr
, CharacterData
(which Text
, Comment
, and CDATASection
inherit), ProcessingInstruction
, DocumentFragment
, DocumentType
, Notation
, Entity
, EntityReference |
NodeSelector |
Class and Description |
---|
DocumentFragment
DocumentFragment has no properties or methods of its own, but inherits from
Node . |
Node
A
Node is an interface from which a number of DOM types inherit, and allows these various types to be treated (or tested) similarly.The following all inherit this interface and its methods and properties (though they may return null in particular cases where not relevant; or throw an exception when adding children to a node type for which no children can exist): Document
, Element
, Attr
, CharacterData
(which Text
, Comment
, and CDATASection
inherit), ProcessingInstruction
, DocumentFragment
, DocumentType
, Notation
, Entity
, EntityReference |
Class and Description |
---|
Node
A
Node is an interface from which a number of DOM types inherit, and allows these various types to be treated (or tested) similarly.The following all inherit this interface and its methods and properties (though they may return null in particular cases where not relevant; or throw an exception when adding children to a node type for which no children can exist): Document
, Element
, Attr
, CharacterData
(which Text
, Comment
, and CDATASection
inherit), ProcessingInstruction
, DocumentFragment
, DocumentType
, Notation
, Entity
, EntityReference |
Class and Description |
---|
Document
Each web page loaded in the browser has its own document object.
|
Element
This chapter provides a brief reference for the general methods, properties, and events available to most HTML and XML elements in the Gecko DOM.
|
ElementTraversal |
Node
A
Node is an interface from which a number of DOM types inherit, and allows these various types to be treated (or tested) similarly.The following all inherit this interface and its methods and properties (though they may return null in particular cases where not relevant; or throw an exception when adding children to a node type for which no children can exist): Document
, Element
, Attr
, CharacterData
(which Text
, Comment
, and CDATASection
inherit), ProcessingInstruction
, DocumentFragment
, DocumentType
, Notation
, Entity
, EntityReference |
NodeList
NodeList objects are collections of nodes returned by
getElementsByTagName , getElementsByTagNameNS , Node.childNodes
, querySelectorAll, getElementsByClassName , etc.NodeList objects are collections of nodes returned by getElementsByTagName , getElementsByTagNameNS , Node.childNodes
, querySelectorAll, getElementsByClassName , etc. |
NodeSelector |
Class and Description |
---|
Node
A
Node is an interface from which a number of DOM types inherit, and allows these various types to be treated (or tested) similarly.The following all inherit this interface and its methods and properties (though they may return null in particular cases where not relevant; or throw an exception when adding children to a node type for which no children can exist): Document
, Element
, Attr
, CharacterData
(which Text
, Comment
, and CDATASection
inherit), ProcessingInstruction
, DocumentFragment
, DocumentType
, Notation
, Entity
, EntityReference |
Class and Description |
---|
Document
Each web page loaded in the browser has its own document object.
|
DocumentFragment
DocumentFragment has no properties or methods of its own, but inherits from
Node . |
Node
A
Node is an interface from which a number of DOM types inherit, and allows these various types to be treated (or tested) similarly.The following all inherit this interface and its methods and properties (though they may return null in particular cases where not relevant; or throw an exception when adding children to a node type for which no children can exist): Document
, Element
, Attr
, CharacterData
(which Text
, Comment
, and CDATASection
inherit), ProcessingInstruction
, DocumentFragment
, DocumentType
, Notation
, Entity
, EntityReference |
Class and Description |
---|
Document
Each web page loaded in the browser has its own document object.
|
Node
A
Node is an interface from which a number of DOM types inherit, and allows these various types to be treated (or tested) similarly.The following all inherit this interface and its methods and properties (though they may return null in particular cases where not relevant; or throw an exception when adding children to a node type for which no children can exist): Document
, Element
, Attr
, CharacterData
(which Text
, Comment
, and CDATASection
inherit), ProcessingInstruction
, DocumentFragment
, DocumentType
, Notation
, Entity
, EntityReference |
Copyright © 2018. All rights reserved.