Skip to content

boosterfuels/cordova-platform-ready

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

cordova-platform-ready

This is a small module that provides a single API for executing code either after Cordova initializes or after the window loads, if running as a webpage.

Usage

function initialize () {
  // This code will be executed when the device is ready or the window loads
}

require('cordova-platform-ready').ready(initialize)

You can also queue up multiple callbacks to be executed:

const cordovaPlatformReady = require('cordova-platform-ready')

cordovaPlatformReady.ready(cb1)
cordovaPlatformReady.ready(cb2)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors