paper-dropdown-menu icon indicating copy to clipboard operation
paper-dropdown-menu copied to clipboard

how to get selected option

Open ArGaspar opened this issue 7 years ago • 1 comments

Description

Im using on-iron-select="_itemSelected" and

  Polymer({
    _itemSelected : function(e) {
    var selectedItem = e.target.selectedItem;
    if (selectedItem) {
        console.log("selected: " + selectedItem.value);
    }
}
});

to get the value of the menu but I get: listener method _itemSelected not defined

Is there another method to get the selected Menu?

ArGaspar avatar Feb 05 '18 15:02 ArGaspar

can u create an example for this in fiddle or something?

Ankita-G-Mudgal avatar Feb 23 '18 11:02 Ankita-G-Mudgal