Skip to content

dannywillems/ocaml-cordova-plugin-activity-indicator

Repository files navigation

ocaml-cordova-plugin-activity-indicator

LGPL-v3 licensed Build Status

Binding to cordova-plugin-activityindicator

What does cordova-plugin-activityindicator do ?

Plugin for Cordova 3.0+ that allows you to show a loading spinner and a message
in your Android/iOS Cordova's app.

Source: cordova-plugin-activityindicator

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-activity-indicator
  • Else, you can use opam by pinning the repository with
opam pin add cordova-plugin-activity-indicator https://github.com/dannywillems/ocaml-cordova-plugin-activityindicator.git

To compile your project, use

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

Don't forget to install the cordova plugin activity indicator with

cordova plugin add https://github.com/Initsogar/cordova-activityindicator

How to use ?

About

Binding in OCaml to cordova-plugin-activityindicator using gen_js_api.

Resources

License

Stars

Watchers

Forks

Packages

No packages published