123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263 |
- "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, 2020
- * US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
- */
- /**
- * @typedef {Object} layoutRenderOptions
- * @property {Boolean} isBackgrounRun - Indicate that the rendering is non-interactive, for example thumbnail rendering
- */
- /**
- * @class LayoutAPI
- * @hideconstructor
- * @classdesc
- */
- define([], function () {
- var LayoutAPI = function () {
- function LayoutAPI() {
- _classCallCheck(this, LayoutAPI);
- }
- /**
- * @deprecated Should use {@link LayoutAPI#getChildrenList} instead
- */
- LayoutAPI.prototype.getChildren = function getChildren() {};
- /**
- * @function LayoutApi#getId
- * @deprecated Should not be exposed going forward.
- */
- LayoutAPI.prototype.getId = function getId() {};
- /**
- * Get layout ratio from parent layout
- * @deprecated Should not be exposed going forward. Can be done by getting the parent layout and then
- * dividing 1 by the length of the getChildrenList response
- */
- LayoutAPI.prototype.getSelfRatio = function getSelfRatio() {};
- /**
- * Get the widget API for the widget inside this layout
- * @return {WidgetAPI} Null is returned if the layout does not contain a widget
- * @deprecated use {@link LayoutAPI#getWidget} instead
- */
- LayoutAPI.prototype.getWidgetAPI = function getWidgetAPI() {};
- return LayoutAPI;
- }();
- return LayoutAPI;
- });
- //# sourceMappingURL=LayoutAPI.js.map
|