Skip to content

ajoslin/cordova-deviceready

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published