Your dropdown-demo element is missing its template tag. Here's a working
example: http://jsbin.com/qojiq/4/edit?html,output

On Thu, Oct 30, 2014 at 4:04 AM, <[email protected]> wrote:

> 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>
>
> Follow Polymer on Google+: plus.google.com/107187849809354688692
> ---
> You received this message because you are subscribed to the Google Groups
> "Polymer" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/polymer-dev/37f8a3cc-19ca-4f5d-860a-c7a2534d40bf%40googlegroups.com
> <https://groups.google.com/d/msgid/polymer-dev/37f8a3cc-19ca-4f5d-860a-c7a2534d40bf%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

Follow Polymer on Google+: plus.google.com/107187849809354688692
--- 
You received this message because you are subscribed to the Google Groups 
"Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/polymer-dev/CAJj5OwDPF_wTQd4pXJMfNVMnF-BtbbfRmApmHQ%3DQ0ioFaHeiHg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to