mirror of
https://github.com/nasa/openmct.git
synced 2025-06-13 04:38:15 +00:00
[JSDoc] Add annotations
Bulk-add JSDoc annotations, WTD-1482.
This commit is contained in:
@ -33,4 +33,4 @@ define({
|
||||
// Max width and margins allowed for bubbles; defined in /platform/commonUI/general/res/sass/_constants.scss
|
||||
BUBBLE_MARGIN_LR: 10,
|
||||
BUBBLE_MAX_WIDTH: 300
|
||||
});
|
||||
});
|
||||
|
@ -30,6 +30,7 @@ define(
|
||||
* The `info` gesture displays domain object metadata in a
|
||||
* bubble on hover.
|
||||
*
|
||||
* @memberof platform/commonUI/inspect
|
||||
* @constructor
|
||||
* @param $timeout Angular's `$timeout`
|
||||
* @param {InfoService} infoService a service which shows info bubbles
|
||||
@ -103,6 +104,7 @@ define(
|
||||
* Detach any event handlers associated with this gesture.
|
||||
* @memberof InfoGesture
|
||||
* @method
|
||||
* @memberof platform/commonUI/inspect.InfoGesture#
|
||||
*/
|
||||
destroy: function () {
|
||||
// Dismiss any active bubble...
|
||||
@ -119,3 +121,4 @@ define(
|
||||
}
|
||||
|
||||
);
|
||||
|
||||
|
@ -31,6 +31,7 @@ define(
|
||||
|
||||
/**
|
||||
* Displays informative content ("info bubbles") for the user.
|
||||
* @memberof platform/commonUI/inspect
|
||||
* @constructor
|
||||
*/
|
||||
function InfoService($compile, $document, $window, $rootScope) {
|
||||
@ -85,6 +86,7 @@ define(
|
||||
* pixel coordinates.
|
||||
* @returns {Function} a function that may be invoked to
|
||||
* dismiss the info bubble
|
||||
* @memberof platform/commonUI/inspect.InfoService#
|
||||
*/
|
||||
display: display
|
||||
};
|
||||
@ -93,3 +95,4 @@ define(
|
||||
return InfoService;
|
||||
}
|
||||
);
|
||||
|
||||
|
Reference in New Issue
Block a user