HybridKit for JavaScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
LICENSE
README.md
hybridkit.js
hybridkit.min.js
spec.js

README.md

HybridKit for JavaScript

HybridKit is a simple, extensible messaging system for your web/native hybrid mobile apps. This is the JavaScript library you run on your web pages to communicate with your app.

Use HybridKit for iOS to enable it in your mobile apps.

Installation

Download hybridkit.js (minified) and add it to your page:

<script src="/assets/js/hybridkit.min.js"></script>

Usage

Run commands with runCommand:

HybridKit.runCommand("alert", {
    title: "Hello!",
    message: "World!"
});

You can also register commands for easy access:

HybridKit.registerCommands(["alert"]);

HybridKit.alert({
    title: "Hello!",
    message: "World!"
});

HybridKit comes with several useful built-in commands.

Contact

Clay Allsopp (http://clayallsopp.com)

License

HybridKit for JavaScript is available under the MIT license. See the LICENSE file for more info.