Class: GlobalOverlayWindow

GlobalOverlayWindow

new GlobalOverlayWindow(config)

GlobalOverlayWindow is a special type of window that is shown on top of any existing element.

GlobalOverlayWindow is a special type of window that is shown on top of any existing element.

The owner must have the 'global-clickthrough-overlay' permission in order to create this kind of window.

GlobalOverlayWindow instances are not handling the home button click, instead we present a chrome UI that allows the user to close the overlay window.

This kind of window is rendered with transparent background and allows passing clicks to the overlayed content.

Parameters:
Name Type Description
config Object

Object holding the overlay configuration options.

Source:
Example
var overlay = new GlobalOverlayWindow({
  url: 'app://clock.gaiamobile.org:8080/alarm.html',
  manifestURL: 'http://clock.gaiamobile.org:8080/manifest.webapp',
  iframe: iframe
});

Extends

Events

appclose

Fired when the app's closing animation is ended.

Fired when the app's closing animation is ended.

Inherited From:
Source:

appclosing

Fired when the app is doing closing animation.

Fired when the app is doing closing animation.

Inherited From:
Source:

appopen

Fired when the app's opening animation is ended.

Fired when the app's opening animation is ended.

Inherited From:
Source:

appopening

Fired when the app is doing opening animation.

Fired when the app is doing opening animation.

Inherited From:
Source: