class js.html.CharacterData extends Node

Available on js

Text, Comment, and CDATASection all implement CharacterData, which in turn also implements Node. See Node for the remaining methods, properties, and constants.

Documentation for this class was provided by MDN.

Instance Fields

var data:String

Setter throws DOMException.

function appendData(data:String):Void

function deleteData(offset:Int, length:Int):Void

function insertData(offset:Int, data:String):Void

function remove():Void

function replaceData(offset:Int, length:Int, data:String):Void

function substringData(offset:Int, length:Int):String