Hi folks, The original answer here (from back in September) is outdated. A paper-dropdown element was added a few months later, which is parallel to the core-dropdown element, but with the material design look and feel. So the example in the API doc is correct.
Here's a jsbin of that example the necessary imports added: http://jsbin.com/husule/1/edit?html,output For comparison, here's the same example with the undecorated core-dropdown in place of the paper-dropdown: http://jsbin.com/ropobe/1/edit?html,output As you can see, it lacks the shadow and open animation of the paper-dropdown. (Note that there's an open issue with the paper-dropdown/paper-dropdown-menu where the animation appears to stutter when it's re-opened: https://github.com/Polymer/paper-dropdown-menu/issues/45) On Fri, Dec 26, 2014 at 4:07 PM, <[email protected]> wrote: > > > All of the documentation I can find for paper-dropdown-menu includes using > paper-dropdown as a child (see > https://www.polymer-project.org/docs/elements/paper-elements.html#paper-dropdown-menu). > If it was just a renaming, why are both being used at the same time? > > On Thursday, September 18, 2014 6:31:12 PM UTC-5, Yvonne Yip wrote: >> >> That is the correct list of dropdown-related elements. >> >> * core-dropdown - A generic drop-down. You provide the trigger element, >> and you can put whatever you want in the drop-down body. >> * core-dropdown-menu - A <select>-like element implemented with >> core-dropdown. The drop-down body contains a menu and the trigger element >> shows the selected item. >> * paper-dropdown-menu - The material design version of the above. >> * paper-dropdown - renamed to paper-dropdown-menu to be consistent with >> core-dropdown-menu >> >> Sorry about the inconvenience with the renaming. These elements are quite >> new and are in flux. We hope to keep this type of changes to a minimum >> while making sure they have the right names and API. >> >> On Wed, Sep 17, 2014 at 9:33 AM, David James <[email protected]> wrote: >> >>> After looking at this again, I think my earlier comment was wrong. >>> >>> In Github, I see these repositories: >>> >>> - core-dropdown: Alive. First commit on Aug. 28, 2014. >>> - core-dropdown-menu: Alive. First commit on Aug. 1, 2014. Builds on >>> top of core-dropdown. >>> - paper-dropdown: Dead. Github repository now points to >>> paper-dropdown-menu. >>> - paper-dropdown-menu: Alive. First commit on Aug. 12, 2014. >>> >>> Would the Polymer author(s) care to comment about the renaming? >>> >>> It looks to me like some of the Bower dependencies are a bit mixed up at >>> the moment after these changes. >>> >>> On Wednesday, September 17, 2014 12:09:24 PM UTC-4, David James wrote: >>>> >>>> It looks to me like this is what happened: >>>> * core-dropdown was renamed to core-dropdown-menu >>>> * paper-dropdown was renamed to paper-dropdown-menu >>>> >>>> I'm not sure why. The names seemed ok to me. >>>> >>>> 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/f8d2f254-360e-4146-bf4d-41f34cc687fb% >>> 40googlegroups.com >>> <https://groups.google.com/d/msgid/polymer-dev/f8d2f254-360e-4146-bf4d-41f34cc687fb%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/af95a6a0-0980-4aba-b12f-93b4bce8ba42%40googlegroups.com > <https://groups.google.com/d/msgid/polymer-dev/af95a6a0-0980-4aba-b12f-93b4bce8ba42%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/CADSbU_wLk2VPpjY3-6G-EwR%2B7UgU2a9_cL52ey61rw12e1sxnA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
