About Pi Downloads Documentation Plugins Developer Forum Issues

pi.element.attribute.removeClass

Summary

Removes the specified class of the specified element.

Syntax

element.removeClass(className);

Example

>>> MyButton.attribute.setClass("Foo Bar");
>>> MyButton.attribute.hasClass("Foo");
true

See Also