Skip to content

Commit ba90327

Browse files
LeoYuanJackLian
authored andcommitted
feat: add setVisible for Node
1 parent a9a118f commit ba90327

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

packages/shell/src/node.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -306,6 +306,10 @@ export default class Node {
306306
return this[nodeSymbol].getVisible();
307307
}
308308

309+
setVisible(flag: boolean) {
310+
this[nodeSymbol].setVisible(flag);
311+
}
312+
309313
isConditionalVisible() {
310314
return this[nodeSymbol].isConditionalVisible();
311315
}

0 commit comments

Comments
 (0)