package js.html
extends Node › EventTarget
extended by Comment, ProcessingInstruction, Text
Available on jsThe
CharacterData
abstract interface represents aNode
object that contains characters. This is an abstract interface, meaning there aren't any object of typeCharacterData
: it is implemented by other interfaces, likeText
,Comment
, orProcessingInstruction
which aren't abstract.Documentation CharacterData by Mozilla Contributors, licensed under CC-BY-SA 2.5.
See:
data:String
Is a DOMString
representing the textual data contained in this object.
read only length:Int
Returns an unsigned long
representing the size of the string contained in CharacterData.data
.
read only nextElementSibling:Element
read only previousElementSibling:Element
appendData (data:String):Void
Throws:
null |
DOMError |
---|
deleteData (offset:Int, count:Int):Void
Throws:
null |
DOMError |
---|
insertData (offset:Int, data:String):Void
Throws:
null |
DOMError |
---|
remove ():Void
replaceData (offset:Int, count:Int, data:String):Void
Throws:
null |
DOMError |
---|
substringData (offset:Int, count:Int):String
Throws:
null |
DOMError |
---|
© 2005–2018 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/js/html/CharacterData.html