Binding to cordova-plugin-datepicker
This is a combined version of DatePicker iOS and Android and Windows plugin for Cordova/Phonegap 4.0.
Source: cordova-plugin-datepicker
This plugin depends on ocaml-js-stdlib: you need to pin it before.
Don't forget to switch to a compiler >= 4.03.0.
opam switch 4.03.0
- If you added ocaml-cordova-plugin-list as opam package provider, you can use
opam install cordova-plugin-datepicker
- Else, you can use opam by pinning the repository with
opam pin add cordova-plugin-datepicker https://github.com/dannywillems/ocaml-cordova-plugin-datepicker.git
To compile your project, use
ocamlfind ocamlc -c -o [output_file] -package gen_js_api -package ocaml-js-stdlib -package cordova-plugin-datepicker [...] -linkpkg [other arguments]
Don't forget to install cordova-plugin-datepicker with
cordova plugin add cordova-plugin-datepicker
- See the official documentation