DashboardCoreAPI.js 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. "use strict";
  2. function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
  3. /**
  4. * Licensed Materials - Property of IBM
  5. * IBM Business Analytics (C) Copyright IBM Corp. 2020
  6. * US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
  7. */
  8. define([], function () {
  9. /**
  10. * @interface DashboardCoreAPI
  11. * @classdesc API class that is used to manage a dashboard.
  12. */
  13. var DashboardCoreAPI = function () {
  14. function DashboardCoreAPI() {
  15. _classCallCheck(this, DashboardCoreAPI);
  16. }
  17. /**
  18. * @description Returns the feature with the specified feature name.
  19. * @param {string} name - Unique name of the feature
  20. * @return {object} Feature API object; undefined if not found
  21. */
  22. DashboardCoreAPI.prototype.getFeature = function getFeature() {};
  23. /**
  24. * @description Destroys the dashboard.
  25. */
  26. DashboardCoreAPI.prototype.destroy = function destroy() {};
  27. return DashboardCoreAPI;
  28. }();
  29. return DashboardCoreAPI;
  30. });
  31. //# sourceMappingURL=DashboardCoreAPI.js.map