MCPcopy Create free account
hub / github.com/DeepNotesApp/DeepNotes / delete

Method delete

apps/client/src/code/pages/page/arrows/arrow.ts:474–482  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

472 }
473
474 delete() {
475 this.page.collab.doc.transact(() => {
476 this.removeFromRegion();
477
478 if (this.page.collab.store.arrows[this.id] != null) {
479 delete this.page.collab.store.arrows[this.id];
480 }
481 });
482 }
483
484 getHitboxElem(): SVGPathElement | null {
485 return document.querySelector(`#arrow-${this.id} > .arrow-hitbox`);

Callers 15

grabMethod · 0.95
removeSocketMethod · 0.45
destroyMethod · 0.45
registerUserFunction · 0.45
removeUserStep1Function · 0.45
acceptStep1Function · 0.45
cancelStep1Function · 0.45
acceptStep1Function · 0.45
rejectStep1Function · 0.45
sendStep1Function · 0.45

Calls 1

removeFromRegionMethod · 0.95

Tested by

no test coverage detected