Edit this page

up.Preview up.Preview.prototype.removeClass([element], className)
Instance method

Temporarily removes a CSS class from an element.

The removed class will be restored once the preview ends.


Parameters

[element=this.fragment] Element|string optional

The element or selector to change.

If omitted, the targeted fragment will be changed.

className string

The CSS class to remove.