Contains Class
The "Contains Class" condition checks whether the specified element contains one or more of the given CSS classes. This is useful for triggering actions based on the presence of certain classes on an element, such as for dynamic styling or UI state.
Properties and Explanation
To use this condition, configure the following setting:
Classes to find: Specify one or more CSS class names to check for on the target element.
Example Usage
Suppose you want to check if an element with ID "submitButton" contains the class "disabled":
Set Classes to find to "disabled".
If the condition is true (the element contains the specified class), the associated actions (such as showing a message or enabling/disabling functionality) will be triggered.
Last updated