beta
cables is under heavy development.
There might be one or another bug, please let us know about it!

ToggleClass Op

Ops.Html.ToggleClass


ToggleClass
Namespace: Ops.Html

Op author: pandur

add or remove css class to/from a HTML element


summary (oneliner)



doc

issues

example patch id

youtube id

caniuse query

collections

related ops

Inputs

HTML Element (Object)

Classname (String)

Active (boolean /Number)

Caught a mistake or want to contribute to the documentation?

Edit Documentationcancel save

HTML Element Toggle Class

Open Example In Editor


Patches using ToggleClass

Changelog


created op
2019-04-26 - pandur