The CharacterData abstract interface represents a web.Node
that contains characters. This is an abstract interface, meaning
aren't any object of type CharacterData: it is implemented by
interfaces, like web.Text
, web.Comment
, or web.ProcessingInstruction
aren't abstract.
The CharacterData abstract interface represents a `web.Node` that contains characters. This is an abstract interface, meaning aren't any object of type CharacterData: it is implemented by interfaces, like `web.Text`, `web.Comment`, or `web.ProcessingInstruction` aren't abstract.
(after this & args)
Method.
[Experimental]
The ChildNode.after() method inserts a set of web.Node
or web.dom.DOMString
in the children list of this ChildNode's parent, just after this
web.dom.DOMString
objects are inserted as equivalent web.Text
[Throws, Unscopable] void ChildNode.after((Node or DOMString)... nodes);
See also: https://developer.mozilla.org/en-US/docs/Web/API/ChildNode/after
Method. [Experimental] The ChildNode.after() method inserts a set of `web.Node` or `web.dom.DOMString` in the children list of this ChildNode's parent, just after this `web.dom.DOMString` objects are inserted as equivalent `web.Text` `[Throws, Unscopable] void ChildNode.after((Node or DOMString)... nodes);` See also: `https://developer.mozilla.org/en-US/docs/Web/API/ChildNode/after`
(append-data this & args)
Method.
Appends the given DOMString to the CharacterData.data string; this method returns, data contains the concatenated DOMString.
Method. Appends the given DOMString to the CharacterData.data string; this method returns, data contains the concatenated DOMString.
(before this & args)
Method.
[Experimental]
The ChildNode.before() method inserts a set of web.Node
or
objects in the children list of this ChildNode's parent, just
this ChildNode. web.dom.DOMString
objects are inserted as equivalent
nodes.
[Throws, Unscopable] void ChildNode.before((Node or DOMString)... nodes);
See also: https://developer.mozilla.org/en-US/docs/Web/API/ChildNode/before
Method. [Experimental] The ChildNode.before() method inserts a set of `web.Node` or objects in the children list of this ChildNode's parent, just this ChildNode. `web.dom.DOMString` objects are inserted as equivalent nodes. `[Throws, Unscopable] void ChildNode.before((Node or DOMString)... nodes);` See also: `https://developer.mozilla.org/en-US/docs/Web/API/ChildNode/before`
(data this)
Property.
Is a DOMString representing the textual data contained in this
Property. Is a DOMString representing the textual data contained in this
(delete-data this & args)
Method.
Removes the specified amount of characters, starting at the specified from the CharacterData.data string; when this method returns, contains the shortened DOMString.
Method. Removes the specified amount of characters, starting at the specified from the CharacterData.data string; when this method returns, contains the shortened DOMString.
(insert-data this & args)
Method.
Inserts the specified characters, at the specified offset, in CharacterData.data string; when this method returns, data contains modified DOMString.
Method. Inserts the specified characters, at the specified offset, in CharacterData.data string; when this method returns, data contains modified DOMString.
(length this)
Property.
Returns an unsigned long representing the size of the string in CharacterData.data.
Property. Returns an unsigned long representing the size of the string in CharacterData.data.
(next-element-sibling this)
Property.
[Read Only]
The NonDocumentTypeChildNode.nextElementSibling read-only property the element immediately following the specified one in its parent's list, or null if the specified element is the last one in the
var nextNode = elementNodeReference.nextElementSibling;
See also: https://developer.mozilla.org/en-US/docs/Web/API/NonDocumentTypeChildNode/nextElementSibling
Property. [Read Only] The NonDocumentTypeChildNode.nextElementSibling read-only property the element immediately following the specified one in its parent's list, or null if the specified element is the last one in the `var nextNode = elementNodeReference.nextElementSibling;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/NonDocumentTypeChildNode/nextElementSibling`
(previous-element-sibling this)
Property.
[Read Only]
The NonDocumentTypeChildNode.previousElementSibling read-only
returns the web.Element
immediately prior to the specified
in its parent's children list, or null if the specified element
the first one in the list.
prevNode = elementNodeReference.previousElementSibling;
See also: https://developer.mozilla.org/en-US/docs/Web/API/NonDocumentTypeChildNode/previousElementSibling
Property. [Read Only] The NonDocumentTypeChildNode.previousElementSibling read-only returns the `web.Element` immediately prior to the specified in its parent's children list, or null if the specified element the first one in the list. `prevNode = elementNodeReference.previousElementSibling;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/NonDocumentTypeChildNode/previousElementSibling`
(remove this)
Method.
The ChildNode.remove() method removes the object from the tree belongs to.
node.remove();
See also: https://developer.mozilla.org/en-US/docs/Web/API/ChildNode/remove
Method. The ChildNode.remove() method removes the object from the tree belongs to. `node.remove();` See also: `https://developer.mozilla.org/en-US/docs/Web/API/ChildNode/remove`
(replace-data this & args)
Method.
Replaces the specified amount of characters, starting at the offset, with the specified DOMString; when this method returns, contains the modified DOMString.
Method. Replaces the specified amount of characters, starting at the offset, with the specified DOMString; when this method returns, contains the modified DOMString.
(replace-with this & args)
Method.
[Experimental]
The ChildNode.replaceWith() method replaces this ChildNode in
children list of its parent with a set of web.Node
or web.dom.DOMString
web.dom.DOMString
objects are inserted as equivalent web.Text
[Throws, Unscopable] void ChildNode.replaceWith((Node or DOMString)... nodes);
See also: https://developer.mozilla.org/en-US/docs/Web/API/ChildNode/replaceWith
Method. [Experimental] The ChildNode.replaceWith() method replaces this ChildNode in children list of its parent with a set of `web.Node` or `web.dom.DOMString` `web.dom.DOMString` objects are inserted as equivalent `web.Text` `[Throws, Unscopable] void ChildNode.replaceWith((Node or DOMString)... nodes);` See also: `https://developer.mozilla.org/en-US/docs/Web/API/ChildNode/replaceWith`
(set-data! this val)
Property.
Is a DOMString representing the textual data contained in this
Property. Is a DOMString representing the textual data contained in this
(set-length! this val)
Property.
Returns an unsigned long representing the size of the string in CharacterData.data.
Property. Returns an unsigned long representing the size of the string in CharacterData.data.
(substring-data this & args)
Method.
Returns a DOMString containing the part of CharacterData.data the specified length and starting at the specified offset.
Method. Returns a DOMString containing the part of CharacterData.data the specified length and starting at the specified offset.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close