attr Function

Applies or modifies attributes on the node. Returns the handler.

Summary

ElementFunction
ReturnsObject

Arguments

objObject[required] Object containing attributes and values.

Example

handler.attr({ example: 'Hello World' });
CodeMessageLineFile
2count(): Parameter must be an array or an object that implements Countable224/home2/njsorg/public_html/pagetype/content/pages/en/docml.viewer.php