cordova-deviceready

1.0.0 • Public • Published

cordova-deviceready Build Status

Listen for the cordova deviceready callback in any environment

Install

$ npm install --save cordova-deviceready

Usage

var onDeviceReady = require('cordova-deviceready')
 
onDeviceReady(function () {
  // deviceready has been called
})

API

cordovaDeviceready(callback) -> void

callback

Required Type: function

Function to be called once the device is ready. If the device is already ready, it will be called instantly.

License

MIT © Andrew Joslin

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.0
    3
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.0
    3

Package Sidebar

Install

npm i cordova-deviceready

Weekly Downloads

3

Version

1.0.0

License

MIT

Last publish

Collaborators

  • andytjoslin