Dart API Referencedart:htmlCharacterData

CharacterData Interface

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

Extends

Node

Subinterfaces

Comment, Text

Methods

Code void appendData(String data) #

void appendData(String data);

Code void deleteData(int offset, int length) #

void deleteData(int offset, int length);

Code void insertData(int offset, String data) #

void insertData(int offset, String data);

Code void replaceData(int offset, int length, String data) #

void replaceData(int offset, int length, String data);

Code String substringData(int offset, int length) #

String substringData(int offset, int length);

Fields

Code String data #

String data;

Code final int length #

final int length;

This page includes content from the Mozilla Foundation that is graciously licensed under a Creative Commons: Attribution-Sharealike license. Mozilla has no other association with Dart or dartlang.org. We encourage you to improve the web by contributing to The Mozilla Developer Network.