Liking cljdoc? Tell your friends :D

web.CharacterData

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.
raw docstring

aftercljs

(after this & args)

Method.

[Experimental]

The ChildNode.after() method inserts a set of web.Node or web.DOMString in the children list of this ChildNode's parent, just after this web.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.DOMString`
in the children list of this ChildNode's parent, just after this
`web.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`
sourceraw docstring

append-datacljs

(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.
sourceraw docstring

beforecljs

(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.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.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`
sourceraw docstring

datacljs

(data this)

Property.

Is a DOMString representing the textual data contained in this

Property.

Is a DOMString representing the textual data contained in this
sourceraw docstring

delete-datacljs

(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.
sourceraw docstring

insert-datacljs

(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.
sourceraw docstring

lengthcljs

(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.
sourceraw docstring

next-element-siblingcljs

(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`
sourceraw docstring

previous-element-siblingcljs

(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`
sourceraw docstring

removecljs

(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`
sourceraw docstring

replace-datacljs

(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.
sourceraw docstring

replace-withcljs

(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.DOMString web.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.DOMString`
`web.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`
sourceraw docstring

set-data!cljs

(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
sourceraw docstring

set-length!cljs

(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.
sourceraw docstring

substring-datacljs

(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.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close