We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a29feec commit a83e438Copy full SHA for a83e438
documentation/docs/02-template-syntax/05-element-directives.md
@@ -381,7 +381,7 @@ The `style:` directive provides a shorthand for setting multiple styles on an el
381
<div style:color style:width="12rem" style:background-color={darkMode ? 'black' : 'white'}>...</div>
382
383
<!-- Styles can be marked as important -->
384
-<div style:color="red">...</div>
+<div style:color|important="red">...</div>
385
```
386
387
When `style:` directives are combined with `style` attributes, the directives will take precedence:
0 commit comments