__SetClasses
Sets class selectors for a specific Element node.
Key | Description |
---|---|
element | Any Element object. |
classNames | A new list of class selectors, which will overwrite the existing class selectors, of type string. |
No return value.
The frontend framework can compile the corresponding frontend tags into render instructions as shown below.