PolymerElements / paper-dropdown-menu

A Material Design browser select element
https://www.webcomponents.org/element/PolymerElements/paper-dropdown-menu
61 stars 107 forks source link

Fix #127. Clarify API doc about menu child, events. #128

Closed arthurevans closed 8 years ago

arthurevans commented 8 years ago

This was spurred by a conversation on polymer-dev. I think this is a little clearer, because we expect people to provide a child element that fires iron-select, but listening for that iron-select is probably one of the key ways to get the output of the element.

Although you can also bind to value, selectedItem, or selectedItemLabel, which I didn't mention. Hm... Well, anyway, it's a start.

Perhaps the example should show one of these things (for example, binding to value or selectedItemLabel) as well to make it more of a complete example?

cdata commented 8 years ago

Awesome! LGTM :+1: