Class Toggle Interaction

Triggers actions when a specific CSS class is added to or removed from an element. This is useful for responding to dynamic styling changes, such as showing or hiding content or toggling visual effects.

You can define separate actions for when the class is added and when it is removed.


Interaction Settings

Option Default Type Description
Class None Text Field The name of the CSS class to monitor. Actions will be triggered when this class is either added or removed from the target element.