1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- "use strict";
- function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
- /**
- * Licensed Materials - Property of IBM
- * IBM Business Analytics (C) Copyright IBM Corp. 2019
- * US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
- */
- /**
- * @class SlotActionsAPI
- * @hideconstructor
- * @classdesc API class that is used to obtain the list of slot actions available
- */
- define([], function () {
- var SlotActionsAPI = function () {
- function SlotActionsAPI() {
- _classCallCheck(this, SlotActionsAPI);
- }
- /**
- * @function SlotActionsAPI#registerProvider
- * @description Register a provider as a slot actions provider
- * @param {name} name of the provider
- * @param {provider} provider SlotAction provider to register and contribute to slot actions
- */
- SlotActionsAPI.prototype.registerProvider = function registerProvider() /* name, provider */{};
- /**
- * @function SlotActionsAPI#getSlotActionList
- * @description Returns a list of slotActions available for a specific item given a data slot and an item index.
- * @param {dataSlotId} id of the dataSlot
- * @param {itemIndex} index of the dataItem
- * @param {options} {actionOptions: {}, actionsToKeep: {}}
- * @return {array} array containing all available actions
- */
- SlotActionsAPI.prototype.getSlotActionList = function getSlotActionList() /* dataSlotId, itemIndex, options */{};
- return SlotActionsAPI;
- }();
- return SlotActionsAPI;
- });
- //# sourceMappingURL=SlotActionsAPI.js.map
|