1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- "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. 2020
- * US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
- */
- /**
- * @class IconsAPI
- * @hideconstructor
- * @classdesc API class that is used to obtain the icon that is required to be displayed
- */
- define([], function () {
- var IconsAPI = function () {
- function IconsAPI() {
- _classCallCheck(this, IconsAPI);
- }
- /**
- * @function IconsAPI#registerIcons
- * @description Register the icons from a component
- * @param {IconObj[]} iconList a list of icons that the component uses.
- */
- IconsAPI.prototype.registerIcons = function registerIcons() /* icons */{};
- /**
- * @function IconsAPI#getIcon
- * @description Returns an icon from the cache based on the id passed to it
- * @param {string} iconId Id of the icon
- * @return {IconObj} object containing the icon details
- */
- IconsAPI.prototype.getIcon = function getIcon() /* iconId */{};
- return IconsAPI;
- }();
- return IconsAPI;
- });
- //# sourceMappingURL=IconsAPI.js.map
|