Reputation: 47
I don't know how to use cordova-plugin-datepicker https://github.com/VitaliiBlagodir/cordova-plugin-datepicker in ionic app, I mean which import to add and where, which variable to declare and which object to call. I tried to follow the instructions on github but is not clear. Thank everyone that responds
Upvotes: 0
Views: 389
Reputation: 401
declare const datePicker
datePicker.show(options, onSuccess, onError);
as described in the plugin home page.NOTE: If you check any DatePicker.js file in here, you will see how it is exported at the end of the file.
Upvotes: 1