Closed Rajesh71983 closed 6 years ago
I am new to phonegap. I am using build.phonegap.com. I have included the plugin and example script.
Placed config object in js file var config = { title: "Select a Fruit", items: [ { text: "Orange", value: "orange" }, { text: "Apple", value: "apple" }, { text: "Watermelon", value: "watermelon" }, { text: "Papaya", value: "papaya" }, { text: "Banana", value: "banana" }, { text: "Pear", value: "pear" } ], selectedValue: "papaya", doneButtonLabel: "Done", cancelButtonLabel: "Cancel" };
And placed show picker script inside a div element like
But the listpicker is not visible in app page. Can you please help me in how to use with a use case example. Thanks in advance.
Got it and it is showing up. Thanks.
I am new to phonegap. I am using build.phonegap.com. I have included the plugin and example script.
Placed config object in js file var config = { title: "Select a Fruit", items: [ { text: "Orange", value: "orange" }, { text: "Apple", value: "apple" }, { text: "Watermelon", value: "watermelon" }, { text: "Papaya", value: "papaya" }, { text: "Banana", value: "banana" }, { text: "Pear", value: "pear" }
], selectedValue: "papaya", doneButtonLabel: "Done", cancelButtonLabel: "Cancel" };
And placed show picker script inside a div element like
But the listpicker is not visible in app page. Can you please help me in how to use with a use case example. Thanks in advance.