LegacyViewControllersAPI.js 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  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. /**
  9. * @class LegacyViewControllersAPI
  10. * @hideconstructor
  11. * @classdesc API class that can be used to create and access legacy layoutController and widgetLoader
  12. */
  13. define([], function () {
  14. var LegacyViewControllersAPI = function () {
  15. function LegacyViewControllersAPI() {
  16. _classCallCheck(this, LegacyViewControllersAPI);
  17. }
  18. /**
  19. * @description Get the layoutController object
  20. * @return {object} the layoutController
  21. */
  22. LegacyViewControllersAPI.prototype.getLayoutController = function getLayoutController() {};
  23. /**
  24. * @description Get the widgetLoader object
  25. * @return {object} the widgetLoader
  26. */
  27. LegacyViewControllersAPI.prototype.getWidgetLoader = function getWidgetLoader() {};
  28. /**
  29. * @description Calls destroy on the layoutController and the widgetLoader
  30. */
  31. LegacyViewControllersAPI.prototype.destroy = function destroy() {};
  32. return LegacyViewControllersAPI;
  33. }();
  34. return LegacyViewControllersAPI;
  35. });
  36. //# sourceMappingURL=LegacyViewControllersAPI.js.map