Cordova events
Cordova allows listening and creating handlers for its life cycle events. The following table shows the description of these events:
Event name |
Description |
---|---|
|
This fires once Apache Cordova is fully loaded. Once this event fires, you can safely make calls to the Cordova API. |
|
This fires if the application is put into the background. |
|
This fires if the application is resumed from the background. |
|
This fires if the application becomes connected to the Internet. |
|
This fires if the application becomes disconnected from the Internet. |
|
This fires if the user clicks on the device's back button (some devices such as Android and Windows Phone devices have a back button). |
|
This fires if the device's battery power reaches a critical state (that is, reached the critical-level threshold). |
|
This fires if the device's battery power reaches the low-level threshold. |
|
This fires... |