Skip to content

Commit 00e2818

Browse files
committed
keyword is none
1 parent ff77f76 commit 00e2818

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"description": "Base Custom Webcomponent",
33
"name": "@node-projects/base-custom-webcomponent",
4-
"version": "0.27.4",
4+
"version": "0.27.5",
55
"type": "module",
66
"main": "./dist/index.js",
77
"author": "",

src/BaseCustomWebComponent.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ export class BaseCustomWebComponentNoAttachedTemplate extends HTMLElement {
191191
} else if (a.name.startsWith('bcw:')) {
192192
if (a.name === 'bcw:visible') {
193193
const value = a.value.substring(2, a.value.length - 2).replaceAll('&', '&');
194-
const b = () => this._bindingSetElementCssValue(<HTMLElement | SVGElement>node, 'display', value + "?'" + node.style.display + "':'collapse'", repeatBindingItems, host, context);
194+
const b = () => this._bindingSetElementCssValue(<HTMLElement | SVGElement>node, 'display', value + "?'" + node.style.display + "':'none'", repeatBindingItems, host, context);
195195
this._bindings.push([b, null]);
196196
b();
197197
}

0 commit comments

Comments
 (0)