Command Palette
Search for a command to run
Command Palette
Search for a command to run

class

✓ Relevant

Two ways to set element classes: `class` attribute (supports strings, objects with truthy keys, arrays with truthy values, flattened nesting) and `class:` directive (conditional shorthand); prefer attribute form.