LiveWidgetInternalAPI.js 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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. 2019
  6. * US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
  7. */
  8. /**
  9. * @class LiveWidgetInternalAPI
  10. * @hideconstructor
  11. * @classdesc Internal API class that is used to return widget/visview related
  12. */
  13. define([], function () {
  14. var LiveWidgetInternalAPI = function () {
  15. function LiveWidgetInternalAPI() {
  16. _classCallCheck(this, LiveWidgetInternalAPI);
  17. }
  18. /**
  19. * @function LiveWidgetInternalAPI#getWidget
  20. * @description Get the widget
  21. * @return {Widget} Internal ID of the widget
  22. */
  23. LiveWidgetInternalAPI.prototype.getWidget = function getWidget() {};
  24. /**
  25. * @function LiveWidgetInternalAPI#getVisView
  26. * @description Get the current view
  27. * @return {visview} The type of the cansas content
  28. */
  29. LiveWidgetInternalAPI.prototype.getVisView = function getVisView() {};
  30. return LiveWidgetInternalAPI;
  31. }();
  32. return LiveWidgetInternalAPI;
  33. });
  34. //# sourceMappingURL=LiveWidgetInternalAPI.js.map