1234567891011121314151617181920212223242526272829303132 |
- "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 Watson Analytics (C) Copyright IBM Corp. 2019
- * US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
- */
- define([], function () {
- var ContentActionUtil = function () {
- function ContentActionUtil() {
- _classCallCheck(this, ContentActionUtil);
- }
- ContentActionUtil.getNodes = function getNodes(controller, idList) {
- var nodes = [];
- idList.forEach(function (id) {
- var layoutView = controller.layoutController.getLayoutView(id);
- if (layoutView && layoutView.domNode) {
- nodes.push(layoutView.domNode);
- }
- });
- return nodes;
- };
- return ContentActionUtil;
- }();
- return ContentActionUtil;
- });
- //# sourceMappingURL=ContentActionUtil.js.map
|