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 449e88f commit 638dacdCopy full SHA for 638dacd
src/overview/xml-capabilities/whack.md
@@ -70,6 +70,14 @@ Style blocks can be conditional, as in:
70
</w:Style>
71
```
72
73
+An arbitrary map of parameters (`Map.<String, String>`) may be passed as well:
74
+
75
+```
76
+<w:Style {map}>
77
+ ...
78
+</w:Style>
79
80
81
#### Linking style sheets in custom components
82
83
For a component to support `<w:Style>` tags, it simply needs to support a `stylesheet : [whack.ds.StyleSheet]` parameter.
@@ -102,3 +110,4 @@ Use `s:n={v}` attributes as a shortcut to `style={{ ..., n: v }}`.
102
110
103
111
<w:Button s:background="orange">button1</w:Button>
104
112
113
0 commit comments