Skip to content Skip to sidebar Skip to footer

Polymer 2.0 Custom Style Property Is Not Working Under Dom-module

I have upgraded polymer project to 2.0 version. After that some css class is missing from div. There is a link to iron-flex-layout.html from my-home.html

Solution 1:

Yes! Got the answer from here: https://www.polymer-project.org/2.0/docs/upgrade#class-based-elements-import-the-css-mixin-shim

It is the version problem with the iron-flex-layout. I just updated it and everything is fine now.

The latest version (2.0) have a <custom-style> object wrapping whole the styles inside iron-flex-layout.html

Here is the latest version: https://github.com/PolymerElements/iron-flex-layout


Post a Comment for "Polymer 2.0 Custom Style Property Is Not Working Under Dom-module"