Skip to content

Commit

Permalink
Fixes #1998: add api doc for customStyle property
Browse files Browse the repository at this point in the history
  • Loading branch information
Steven Orvell committed Jul 17, 2015
1 parent 38551b8 commit 91577c9
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/standard/x-styling.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,14 @@
[];
},

/**
* An element's style properties can be directly modified by
* setting key-value pairs in `customStyle` on the element
* (analogous to setting `style`) and then calling `updateStyles()`.
*
*/
customStyle: {},

// here we have an instance time spot to put custom property data
_setupStyleProperties: function() {
this.customStyle = {};
Expand Down

0 comments on commit 91577c9

Please sign in to comment.