Skip to content
Browse files

Fixes #1998: add api doc for `customStyle` property

  • Loading branch information...
1 parent 38551b8 commit 91577c9fdba7880341badf01f8d7de855589f325 @sorvell sorvell committed
Showing with 8 additions and 0 deletions.
  1. +8 −0 src/standard/x-styling.html
View
8 src/standard/x-styling.html
@@ -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 = {};

0 comments on commit 91577c9

Please sign in to comment.
Something went wrong with that request. Please try again.