Class: module:Popup service:ngeoCreatePopup

ngeo.message.module:Popup.ngeo.message.module:Popup

new module:Popup($compile, $rootScope, $sce, $timeout)

Provides a factory to create a popup in the page. The factory returns a ngeo.message.Popup object.

Example:

let popup = ngeoCreatePopup();
popup.setTitle("A title");
popup.setContent("Some content");
popup.setOpen(true);
Parameters:
Name Type Description
$compile angular.$compile

The compile provider.

$rootScope angular.Scope

The rootScope provider.

$sce angular.$sce

Angular sce service.

$timeout angular.$timeout

Angular timeout service.

Members

scope: angular.Scope

The scope the compiled element is link to.