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
Polymer provides a customStyle object which can be used to set css custom properties. To apply these values, updateStyles must be called. Since this is typically done in lockstep, there should be a 1 step option, e.g.:
this.updateStyles({'-foo': 'red'});
// short for
this.customStyles['--foo'] = 'red';
this.updateStyles();
The text was updated successfully, but these errors were encountered:
Polymer provides a
customStyle
object which can be used to set css custom properties. To apply these values,updateStyles
must be called. Since this is typically done in lockstep, there should be a 1 step option, e.g.:The text was updated successfully, but these errors were encountered: