Skip to content Skip to sidebar Skip to footer

Polymer's Paper-dropdown-menu Shows Uncollapsed

I'm trying to build a small web app using Polymer, based on the Polymer Starter Kit 1.3, and I've immediately ran into a problem - I'm trying to create an element that contains a d

Solution 1:

Found out what the problem was - the paper-drowndown-menu.html element was not loaded by elements.html. I've added it and everything is fine.

The Polymer Starter Kit is kind of bad in that its not working out of the box properly in several different aspects and as the newbie it is geared towards, I often find myself looking down at the abyss and considering whether to jump or not...

Solution 2:

you just need to import paper-dropdown-menu.html and paper-item.html

Something like this:

<linkrel="import"href="/bower_components/paper-dropdown-menu/paper-dropdown-menu.html"><linkrel="import"href="/bower_components/paper-item/paper-item.html">

Please make sure the path to the files are correct based on your project structure.

Post a Comment for "Polymer's Paper-dropdown-menu Shows Uncollapsed"