mirror of
https://github.com/nasa/openmct.git
synced 2025-06-18 07:08:12 +00:00
[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