Files
openmct/platform/commonUI/about/src/LogoController.js
Victor Woeltjen f7a33659b4 [About] Add JSDoc
Add in-line documentation to controllers introduced to
support the About dialog. WTD-667.
2015-01-14 13:15:24 -08:00

28 lines
723 B
JavaScript

/*global define*/
define(
[],
function () {
"use strict";
/**
* The LogoController provides functionality to the application
* logo in the bottom-right of the user interface.
* @constructor
* @param {OverlayService} overlayService the overlay service
*/
function LogoController(overlayService) {
return {
/**
* Display the About dialog.
* @memberof LogoController#
*/
showAboutDialog: function () {
overlayService.createOverlay("overlay-about");
}
};
}
return LogoController;
}
);