hy-virtual-tree 2.0.4 → 2.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -0
- package/dist/index.js +4 -3
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hy-virtual-tree v2.0.
|
|
1
|
+
/* hy-virtual-tree v2.0.5 */
|
|
2
2
|
import './svg_bundle.js';
|
|
3
3
|
const isString = (e) => typeof e === 'string';
|
|
4
4
|
const isNumber = (e) => typeof e === 'number';
|
|
@@ -9042,8 +9042,9 @@ const customRender = (options) => {
|
|
|
9042
9042
|
}
|
|
9043
9043
|
if (isBoolean(value) && value) {
|
|
9044
9044
|
value = defaultFn && isFunction(defaultFn) ? defaultFn(node.data, node) : undefined;
|
|
9045
|
-
if (value
|
|
9046
|
-
value.
|
|
9045
|
+
if (value) {
|
|
9046
|
+
className && value.el.classList.add(className);
|
|
9047
|
+
parent && value.mount(parent);
|
|
9047
9048
|
}
|
|
9048
9049
|
return value;
|
|
9049
9050
|
}
|