diff --git a/dist/infinite-tree.js b/dist/infinite-tree.js index 260a3de..3a71a27 100644 --- a/dist/infinite-tree.js +++ b/dist/infinite-tree.js @@ -1394,8 +1394,9 @@ var InfiniteTree = function (_events$EventEmitter) { var newNodes = [].concat(newNode || []); // Ensure array return this.addChildNodes(newNodes, index, parentNode); }; + // Checks or unchecks a node. // @param {Node} node The Node object. - // @param {boolean} [checked] Whether to check or uncheck the node. If the parameter is not specified, it will toggle between checked and unchecked state. The checked state is true when the indeterminate state is true. + // @param {boolean} [checked] Whether to check or uncheck the node. If not specified, it will toggle between checked and unchecked state. // @return {boolean} Returns true on success, false otherwise. // @example // diff --git a/src/infinite-tree.js b/src/infinite-tree.js index bb4cb94..1b56dda 100644 --- a/src/infinite-tree.js +++ b/src/infinite-tree.js @@ -531,8 +531,9 @@ class InfiniteTree extends events.EventEmitter { const newNodes = [].concat(newNode || []); // Ensure array return this.addChildNodes(newNodes, index, parentNode); } + // Checks or unchecks a node. // @param {Node} node The Node object. - // @param {boolean} [checked] Whether to check or uncheck the node. If the parameter is not specified, it will toggle between checked and unchecked state. The checked state is true when the indeterminate state is true. + // @param {boolean} [checked] Whether to check or uncheck the node. If not specified, it will toggle between checked and unchecked state. // @return {boolean} Returns true on success, false otherwise. // @example //