Skip to content

Commit f6e48b4

Browse files
committed
fix typo
1 parent bb02d71 commit f6e48b4

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.2",
4+
"version": "0.27.3",
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
@@ -192,7 +192,7 @@ export class BaseCustomWebComponentNoAttachedTemplate extends HTMLElement {
192192
if (a.name === 'bcw:visible') {
193193
const value = a.value.substring(2, a.value.length - 2).replaceAll('&', '&');
194194
const b1 = () => this._bindingSetElementCssValue(<HTMLElement | SVGElement>node, 'visibility', value + "?'':'collapse'", repeatBindingItems, host, context);
195-
const b2 = () => this._bindingSetElementCssValue(<HTMLElement | SVGElement>node, 'contentVisibility' + "?'':'hidden'", value, repeatBindingItems, host, context);
195+
const b2 = () => this._bindingSetElementCssValue(<HTMLElement | SVGElement>node, 'content-visibility', value + "?'':'hidden'", repeatBindingItems, host, context);
196196
this._bindings.push([b1, null]);
197197
this._bindings.push([b2, null]);
198198
b1();

0 commit comments

Comments
 (0)