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');