addClass Function

Adds a new class to the node. Returns the handler.

Summary

ElementFunction
ReturnsObject

Arguments

cssString[required] New class to add to the node.

Example

handler.addClass('new-class');
CodeMessageLineFile
2count(): Parameter must be an array or an object that implements Countable224/home2/njsorg/public_html/pagetype/content/pages/en/docml.viewer.php