About Pi Downloads Documentation Plugins Developer Forum Issues

pi.element.attribute.addClass

Summary

Adds the specified class(es) to each of the set of specified element.

Syntax

element.addClass(Class, Names, ...);

Example

>>> MyButton.attribute.attribute.addClass("Foo","Bar");
>>> MyButton.attribute.getClass();
"Foo Bar"

See Also