You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An element can set a custom style property via this.customStyle['--foo'] = 'red'; but there is currently no way to do this in the document scope. Currently, a <style is="custom-style"> element must be created and added to the document. It would more convenient for example, to do this: Polymer.StyleDefaults.customStyle['--foo'] = 'red';
The text was updated successfully, but these errors were encountered:
An element can set a custom style property via
this.customStyle['--foo'] = 'red';
but there is currently no way to do this in the document scope. Currently, a<style is="custom-style">
element must be created and added to the document. It would more convenient for example, to do this:Polymer.StyleDefaults.customStyle['--foo'] = 'red';
The text was updated successfully, but these errors were encountered: