Skip to content

dannywillems/ocaml-cordova-plugin-keyboard

Repository files navigation

ocaml-cordova-plugin-keyboard

LGPL-v3 licensed Build Status

Binding to cordova-plugin-keyboard

What does cordova-plugin-keyboard do ?

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

How to install and compile your project by using this plugin ?

Don't forget to switch to a compiler >= 4.03.0.

opam switch 4.03.0
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

How to use ?

About

Binding OCaml to cordova-plugin-keyboard using gen_js_api.

Resources

License

Stars

Watchers

Forks

Packages

No packages published