MCPcopy Create free account
hub / github.com/Easy-Editor/EasyEditor / hide

Method hide

packages/core/src/document/node/node.ts:353–356  ·  view source on GitHub ↗
(flag = true)

Source from the content-addressed store, hash-verified

351 }
352
353 hide(flag = true) {
354 this.setExtraProp('hidden', flag)
355 this.emitter.emit(NODE_EVENT.VISIBLE_CHANGE, flag)
356 }
357
358 get hidden() {
359 return this.getExtraPropValue('hidden') as boolean

Callers 5

onClickFunction · 0.80
handleHideFunction · 0.80
initFunction · 0.80
onClickFunction · 0.80
handleHideFunction · 0.80

Calls 2

setExtraPropMethod · 0.95
emitMethod · 0.45

Tested by

no test coverage detected