PeterStaev / NativeScript-Drop-Down

A NativeScript DropDown widget.
Apache License 2.0
105 stars 65 forks source link

Add events for when the popup is opened, and when selection changes #20

Closed PeterStaev closed 7 years ago

PeterStaev commented 8 years ago

From @hvadotnarola here:

Hey is there method to be called upon opening popup and on selection(Closing) ?

hchor commented 8 years ago

:+1: should have an optional event handler to do something, once a selection is made.

ghost commented 8 years ago

For now i have found a way around this with observer change listener where i can listen for selected index change value. observableObject.on(observableModule.Observable.propertyChangeEvent, function(propertyChangeData){ console.log(propertyChangeData.propertyName + " has been changed and the new value is: " + propertyChangeData.value); });

relez commented 7 years ago

Any update in this section???

Thanks!

PeterStaev commented 7 years ago

Hey @relvis , this is on my radar, but sadly not much time lately to add couple of long awaited functions (including this one). Stay tuned :)