Class: HomescreenLauncher

HomescreenLauncher

new HomescreenLauncher()

HomescreenLauncher is responsible for launching the homescreen window instance and make sure it's a singleton.

HomescreenLauncher is responsible for launching the homescreen window instance and make sure it's a singleton.

Every extermal modules should use Service.query('getHomescreen') to access the homescreen window instance.

Source:
Requires:
  • module:HomescreenWindow
Example
var home = Service.query('getHomescreen');
home.open(); // Do the open animation.

Requires

  • module:HomescreenWindow

Methods

_stop()

Stop process

.

Stop process

Source:

getHomescreen() → {HomescreenWindow}

Get instance of homescreen window singleton

.

Get instance of homescreen window singleton

Source:
Returns:

Instance of homescreen window singleton, or null if HomescreenLauncher is not ready

Type
HomescreenWindow

Events

homescreen-changed

Fired when homescreen launcher detect 'homescreen.manifestURL' changed

.

Fired when homescreen launcher detect 'homescreen.manifestURL' changed

Source:

homescreen-ready

Fired when homescreen launcher is done retriving 'homescreen.manifestURL'

.

Fired when homescreen launcher is done retriving 'homescreen.manifestURL'

Source: