MCPcopy Index your code
hub / github.com/wavetermdev/waveterm / getVDomModel

Method getVDomModel

frontend/app/view/term/term-model.ts:568–578  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

566 }
567
568 getVDomModel(): VDomModel {
569 const vdomBlockId = globalStore.get(this.vdomBlockId);
570 if (!vdomBlockId) {
571 return null;
572 }
573 const bcm = getBlockComponentModel(vdomBlockId);
574 if (!bcm) {
575 return null;
576 }
577 return bcm.viewModel as VDomModel;
578 }
579
580 getVDomToolbarModel(): VDomModel {
581 const vdomToolbarBlockId = globalStore.get(this.vdomToolbarBlockId);

Callers 1

keyDownHandlerMethod · 0.95

Calls 2

getBlockComponentModelFunction · 0.90
getMethod · 0.80

Tested by

no test coverage detected