Binding to cordova-plugin-keyboard
This plugin provides the Keyboard object which has some functions to customize
and control the keyboard. It also supports the HideKeyboardFormAccessoryBar
(boolean) and KeyboardShrinksView (boolean) preferences in config.xml.
Source: cordova-plugin-keyboard
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-keyboard
- Else, you can use opam by pinning the repository with
opam pin add cordova-plugin-keyboard https://github.com/dannywillems/ocaml-cordova-plugin-keyboard.git
To compile your project, use
ocamlfind ocamlc -c -o [output_file] -package gen_js_api -package cordova-plugin-keyboard [...] -linkpkg [other arguments]
Don't forget to install cordova-plugin-keyboard with
cordova plugin add cordova-plugin-keyboard
- See the official documentation