DeleteActionAPI.js 1.1 KB

1234567891011121314151617181920212223242526272829303132333435
  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 ContentActionsAPI
  10. * @hideconstructor
  11. * @classdesc API class that is used to obtain the list of content actions available
  12. */
  13. define([], function () {
  14. var DeleteActionAPI = function () {
  15. function DeleteActionAPI() {
  16. _classCallCheck(this, DeleteActionAPI);
  17. }
  18. /**
  19. * @function DeleteActionAPI#setOnBeforeDeleteCallback
  20. * @deprecated
  21. * @description Sets a callback to be called before a widget is deleted.
  22. * @param {callback} function to be called before delete is applied.
  23. */
  24. DeleteActionAPI.prototype.setOnBeforeDeleteCallback = function setOnBeforeDeleteCallback() /* callback */{};
  25. return DeleteActionAPI;
  26. }();
  27. return DeleteActionAPI;
  28. });
  29. //# sourceMappingURL=DeleteActionAPI.js.map