Skip to content

dannywillems/ocaml-cordova-plugin-clipboard

Repository files navigation

ocaml-cordova-plugin-clipboard

LGPL-v3 licensed Build Status

Binding to cordova-universal-clipboard

Example application.

What does cordova-universal-clipboard do ?

Cordova_clipboard management plugin for Cordova/PhoneGap that supports iOS, Android, and
Windows Phone 8.

Source: cordova-universal-clipboard

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

You can use opam by pinning the repository with

opam pin add cordova-plugin-clipboard https://github.com/dannywillems/ocaml-cordova-plugin-clipboard.git

and to compile your project, use

ocamlfind ocamlc -c -o [output_file] -package gen_js_api -package cordova-plugin-clipboard [...] -linkpkg [other arguments]

Don't forget to install the cordova plugin clipboard with

cordova plugin add cordova-universal-clipboard

How to use ?

See the official documentation cordova-universal-clipboard

About

Binding in OCaml to cordova-universal-clipboard using gen_js_api.

Resources

License

Stars

Watchers

Forks

Packages

No packages published