ContentCapabilitiesAPI.js 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839
  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 ContentCapabilitiesAPI
  11. * @classdesc public API interface to retrieve content capabilities
  12. */
  13. var ContentCapabilitiesAPI = function () {
  14. function ContentCapabilitiesAPI() {
  15. _classCallCheck(this, ContentCapabilitiesAPI);
  16. }
  17. /**
  18. * @public
  19. * @description Get Capabilities of a registered content type
  20. * @returns {Object} [object = {
  21. * 'selection': false,
  22. * 'title': false,
  23. * 'move': false,
  24. * 'resize': false
  25. * }]
  26. * returns capabilities of a registered content type.
  27. */
  28. ContentCapabilitiesAPI.prototype.getCapabilities = function getCapabilities() {};
  29. return ContentCapabilitiesAPI;
  30. }();
  31. return ContentCapabilitiesAPI;
  32. });
  33. //# sourceMappingURL=ContentCapabilitiesAPI.js.map