[About] Add controllers
Add initial implementations of controllers to support showing the About dialog on logo click, WTD-667.
This commit is contained in:
18
platform/commonUI/about/src/LogoController.js
Normal file
18
platform/commonUI/about/src/LogoController.js
Normal file
@@ -0,0 +1,18 @@
|
||||
/*global define*/
|
||||
|
||||
define(
|
||||
[],
|
||||
function () {
|
||||
"use strict";
|
||||
|
||||
function LogoController(overlayService) {
|
||||
return {
|
||||
showAboutDialog: function () {
|
||||
overlayService.createOverlay("overlay-about");
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
return LogoController;
|
||||
}
|
||||
);
|
||||
Reference in New Issue
Block a user