vdl-css
An attribute that controls the application of CSS classes of the element that it is placed on based on the truthyness of its expression value(s).
Example
<div vdl-css="={warning: BoolFlag, error: OtherBoolFlag}">Message</div>
Attributes
vdl-css | Map of CSS class names to boolean flag that applies the given class to this element | requires expression | required |
---|