ContentServiceabilityAPI.js 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  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 ContentServiceabilityAPI
  10. * @hideconstructor
  11. * @classdesc API class that is used to return widget serviceability information
  12. */
  13. define([], function () {
  14. var ContentServiceabilityAPI = function () {
  15. function ContentServiceabilityAPI() {
  16. _classCallCheck(this, ContentServiceabilityAPI);
  17. }
  18. /**
  19. * @public
  20. * @function ContentServiceabilityApi#getContentInfo
  21. * @description get content info
  22. */
  23. ContentServiceabilityAPI.prototype.getContentInfo = function getContentInfo() {};
  24. /**
  25. * @public
  26. * @function ContentServiceabilityApi#showInfo
  27. * @description display an overlay with info on the DOM of a content
  28. */
  29. ContentServiceabilityAPI.prototype.showInfo = function showInfo() {};
  30. /**
  31. * @public
  32. * @function ContentServiceabilityApi#hideInfo
  33. * @description hide an overlay with info on the DOM of a content
  34. */
  35. ContentServiceabilityAPI.prototype.hideInfo = function hideInfo() {};
  36. /**
  37. * @public
  38. * @function ContentServiceabilityAPI#isInfoVisible
  39. * @description check if there is an overlay with info on a content
  40. * @return {boolean} True indicates the info is being displayed on DOM,
  41. * false otherwise.
  42. */
  43. ContentServiceabilityAPI.prototype.isInfoVisible = function isInfoVisible() {};
  44. return ContentServiceabilityAPI;
  45. }();
  46. return ContentServiceabilityAPI;
  47. });
  48. //# sourceMappingURL=ContentServiceabilityAPI.js.map