Hi,
I am new to polymer and have a small query about core-drop-down menu . PFB the code that i am using it for my testing.
In the below snippet the core-select-method is not getting called at all. Am i missing something.
Kindly excuse if it is silly.
I have included the platform js and core-drop-menu.html.
Polymer('dropdown-demo',
{
created: function() {
console.log("create");
},
itemSelected: function(event, detail, sender) {
console.log("selected");
}
});
<polymer-element name="dropdown-demo">
<section>
drop-up:
<core-dropdown-menu valign="bottom" valueattr="label" selected="Donut" on-core-select="{{ itemSelected }}">
<core-item label="Croissant"></core-item>
<core-item label="Donut"></core-item>
<core-item label="Financier"></core-item>
<core-item label="Madeleine"></core-item>
</core-dropdown-menu>
</section>
</polymer-element>