Skip to main content

Home > @jsplumbtoolkit/browser-ui > xml > setNodeText

xml.setNodeText() method#

Sets a node's text value.

Signature:

static setNodeText(node: any, text: string): void;

Parameters#

ParameterTypeDescription
nodeanyElement to set text on.
textstringText to set.

Returns:

void