MCPcopy Index your code
hub / github.com/alibaba/lowcode-engine / setVisible

Method setVisible

packages/designer/src/document/node/node.ts:796–799  ·  view source on GitHub ↗
(flag: boolean)

Source from the content-addressed store, hash-verified

794 }
795
796 setVisible(flag: boolean): void {
797 this.getExtraProp('hidden')?.setValue(!flag);
798 this.emitter.emit('visibleChange', flag);
799 }
800
801 getVisible(): boolean {
802 return !this.getExtraProp('hidden')?.getValue();

Callers

nothing calls this directly

Calls 3

getExtraPropMethod · 0.95
setValueMethod · 0.65
emitMethod · 0.65

Tested by

no test coverage detected