Triggered when the app's lifecycle state has changed.

var Lifecycle = require("FuseJS/Lifecycle");

Lifecycle.on("stateChanged", function(newState) {
    console.log("The lifecycle state changed " + newState);
});

Location

Namespace
FuseJS
Package
FuseJS 2.0.1