mirror of
https://github.com/nasa/openmct.git
synced 2025-06-18 07:08:12 +00:00
[JSDoc] Add annotations
Bulk-add JSDoc annotations, WTD-1482.
This commit is contained in:
@ -31,6 +31,7 @@ define(
|
||||
|
||||
/**
|
||||
* The navigate action navigates to a specific domain object.
|
||||
* @memberof platform/commonUI/browse
|
||||
* @constructor
|
||||
*/
|
||||
function NavigateAction(navigationService, $q, context) {
|
||||
@ -46,6 +47,7 @@ define(
|
||||
* Navigate to the object described in the context.
|
||||
* @returns {Promise} a promise that is resolved once the
|
||||
* navigation has been updated
|
||||
* @memberof platform/commonUI/browse.NavigateAction#
|
||||
*/
|
||||
perform: perform
|
||||
};
|
||||
@ -64,4 +66,4 @@ define(
|
||||
|
||||
return NavigateAction;
|
||||
}
|
||||
);
|
||||
);
|
||||
|
@ -32,6 +32,7 @@ define(
|
||||
/**
|
||||
* The navigation service maintains the application's current
|
||||
* navigation state, and allows listening for changes thereto.
|
||||
* @memberof platform/commonUI/browse
|
||||
* @constructor
|
||||
*/
|
||||
function NavigationService() {
|
||||
@ -68,12 +69,14 @@ define(
|
||||
return {
|
||||
/**
|
||||
* Get the current navigation state.
|
||||
* @memberof platform/commonUI/browse.NavigationService#
|
||||
*/
|
||||
getNavigation: getNavigation,
|
||||
/**
|
||||
* Set the current navigation state. Thiswill invoke listeners.
|
||||
* @param {DomainObject} value the domain object to navigate
|
||||
* to
|
||||
* @memberof platform/commonUI/browse.NavigationService#
|
||||
*/
|
||||
setNavigation: setNavigation,
|
||||
/**
|
||||
@ -82,6 +85,7 @@ define(
|
||||
* this changes.
|
||||
* @param {function} callback the callback to invoke when
|
||||
* navigation state changes
|
||||
* @memberof platform/commonUI/browse.NavigationService#
|
||||
*/
|
||||
addListener: addListener,
|
||||
/**
|
||||
@ -89,6 +93,7 @@ define(
|
||||
* @param {function} callback the callback which should
|
||||
* no longer be invoked when navigation state
|
||||
* changes
|
||||
* @memberof platform/commonUI/browse.NavigationService#
|
||||
*/
|
||||
removeListener: removeListener
|
||||
};
|
||||
@ -96,4 +101,4 @@ define(
|
||||
|
||||
return NavigationService;
|
||||
}
|
||||
);
|
||||
);
|
||||
|
Reference in New Issue
Block a user