SlotActionsProviderAPI.js 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637
  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 SlotActionsProviderAPI
  10. * @hideconstructor
  11. * @classdesc API class that is used to implement a slot action provider for the purpose of contributing a slot action
  12. */
  13. define([], function () {
  14. var SlotActionsProviderAPI = function () {
  15. function SlotActionsProviderAPI() {
  16. _classCallCheck(this, SlotActionsProviderAPI);
  17. }
  18. /**
  19. * @function SlotActionsProviderAPI#getSlotActionList
  20. * @description Returns a list of slotActions available for a specific item given a data slot and an item index.
  21. * @param {dataSlotId} id of the dataSlot
  22. * @param {itemIndex} index of the dataItem
  23. * @param {options} {actionOptions: {}, actionsToKeep: {}}
  24. * @return {array} array containing all available actions
  25. */
  26. SlotActionsProviderAPI.prototype.getSlotActionList = function getSlotActionList() /* dataSlotId, itemIndex, options */{};
  27. return SlotActionsProviderAPI;
  28. }();
  29. return SlotActionsProviderAPI;
  30. });
  31. //# sourceMappingURL=SlotActionsProviderAPI.js.map