Class
| Identifier | class |
| Allows Multiple | true |
Description
Section titled “Description”The class argument lets you add one or multiple CSS classes to a view field.
Values
Section titled “Values”The view field argument class accepts the following value configurations.
-
class(className: any)-
classNameis the name of the css class to add
-
Allowed Input Fields
Section titled “Allowed Input Fields”
The view field argument class can be used on all view fields.
Examples
Section titled “Examples”This view field will display red text, as it has Obsidian’s mod-warning CSS class.
VIEW[{a} * {b}][math(class(mod-warning))]