Skip to content

Commit

Permalink
Document custom-style module property.
Browse files Browse the repository at this point in the history
  • Loading branch information
Steven Orvell committed Aug 6, 2015
1 parent 4e640c7 commit 398d9f7
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/lib/custom-style.html
Expand Up @@ -23,6 +23,9 @@
browsers without non-native Shadow DOM.
* Custom properties used by Polymer's shim for cross-scope styling
may be defined in an `custom-style`.
* A module attribute may be specified to pull in style data from a `dom-module`
matching the module attribute. By using `module`, style data
can be shared between multiple `custom-style` elements.
Example:
Expand Down Expand Up @@ -82,6 +85,11 @@

properties: {
// module is a property so that it deserializes
/**
* Specify module to identify a `dom-module` containing style data which
* should be used within the `custom-style`. By using `module` style data
* may be shared between multiple different `custom-style` elements.
*/
module: String
},

Expand Down

0 comments on commit 398d9f7

Please sign in to comment.