Product Information > JADE Encyclopaedia of Classes – Volume 2 > Chapter 1 - System Classes > addComment

addComment

addComment(text: String): JadeXMLComment updating;

The addComment method of the JadeXMLElement class creates and adds a comment node with the value specified in the text parameter and returns a reference to the created JadeXMLComment node instance.