From 4739b36bc3fcee0cf259be8ec4823b23954fb4a9 Mon Sep 17 00:00:00 2001 From: Victor Woeltjen Date: Tue, 6 Sep 2016 09:14:04 -0700 Subject: [PATCH] [API] Add metadata to View jsdoc --- src/api/View.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/api/View.js b/src/api/View.js index 09e130b6c3..65f77da558 100644 --- a/src/api/View.js +++ b/src/api/View.js @@ -4,7 +4,8 @@ define([], function () { * A View is used to provide displayable content, and to react to * associated life cycle events. * - * @class + * @interface + * @memberof module:openmct */ function View() { @@ -18,6 +19,8 @@ define([], function () { * the contents of this view up-to-date. * * @param {HTMLElement} container the DOM element to populate + * @method show + * @memberof module:openmct.View# */ View.prototype.show = function (container) { @@ -29,6 +32,9 @@ define([], function () { * View implementations should use this method to detach any * listeners or release other resources that are no longer necessary * once a view is no longer used. + * + * @method destroy + * @memberof module:openmct.View# */ View.prototype.destroy = function () {