You can use the APIs from WebPlatform.js to build Cordova-compliant JavaScript plugins
WebPlatform API | Description |
---|---|
Events | Handle the registration and deregistration of callback functions for specific event types |
Persistent Publish/Subscribe | Interface to work with Persistent Publish/Subscribe (PPS) objects |
Webview | Work with the webview |
Webview.rpc | Work with RPC within a webview |