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
When using "encapsulate", the class binding will override the class (x-app-x) set for encapsulation.
<dom-moduleid="x-app" encapsulate><style>
:host {
display: block;
}
#foo {
height: 100px;
background-color: red;
}
</style><template><!-- the class binding will override the class (x-app-x) set for encapsulation and causing #foo style to not apply to the div correctly --><divid="foo" class$="[[fooClass]]"></div></template></dom-module><script>Polymer({is: 'x-app',configure: function(){return{fooClass: 'foo'}}});</script>
The text was updated successfully, but these errors were encountered:
When using "encapsulate", the class binding will override the class (x-app-x) set for encapsulation.
The text was updated successfully, but these errors were encountered: