We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4e640c7 commit 398d9f7Copy full SHA for 398d9f7
src/lib/custom-style.html
@@ -23,6 +23,9 @@
23
browsers without non-native Shadow DOM.
24
* Custom properties used by Polymer's shim for cross-scope styling
25
may be defined in an `custom-style`.
26
+* A module attribute may be specified to pull in style data from a `dom-module`
27
+matching the module attribute. By using `module`, style data
28
+can be shared between multiple `custom-style` elements.
29
30
Example:
31
@@ -82,6 +85,11 @@
82
85
83
86
properties: {
84
87
// module is a property so that it deserializes
88
+ /**
89
+ * Specify module to identify a `dom-module` containing style data which
90
+ * should be used within the `custom-style`. By using `module` style data
91
+ * may be shared between multiple different `custom-style` elements.
92
+ */
93
module: String
94
},
95
0 commit comments