PeterStaev / NativeScript-Drop-Down

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

How to get the value using javascript? #114

Closed 1eavemealone closed 7 years ago

1eavemealone commented 7 years ago

let dd = page.getViewById<DropDown>("dd");

It only works in Typescript.. how about Javascript? Or mind to add guide for Javascript?

PeterStaev commented 7 years ago

Hey @cptsky , the equivalent is

var dd = page.getViewById("dd");