Sign in Join
FPDoc Onlineexperiment

TDOMNode.TextContent property

Member of TDOMNodepublicIn unit Laz2_DOM

Textual representation for the DOM Node.

Declaration

pascal
property TextContent: DOMString read GetTextContent write SetTextContent;

Description

TextContent is a DOMString property the textual content for a DOM node (and its specialized descendants), as specified in the DOM Level 3 specification.

In TDOMNode, the value in TextContent is redirected to the NodeValue property. The read and write access specifiers may be overridden in descendent classes to perform actions needed for a particular DOM Node specialization, including:

  • TDOMProcessingInstruction
  • TDOMCharacterData
  • TDOMText
  • TDOMAttr

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.