MCPcopy Create free account
hub / github.com/callumalpass/tasknotes / clearDropIndicators

Method clearDropIndicators

src/bases/TaskListView.ts:1029–1044  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1027 }
1028
1029 private clearDropIndicators(): void {
1030 this.itemsContainer
1031 ?.querySelectorAll(
1032 ".task-card--drop-above, .task-card--drop-below, .task-list-view__drop-slot-before, .task-list-view__drop-slot-after"
1033 )
1034 .forEach((el) => {
1035 el.classList.remove(
1036 "task-card--drop-above",
1037 "task-card--drop-below",
1038 "task-list-view__drop-slot-before",
1039 "task-list-view__drop-slot-after"
1040 );
1041 });
1042 this.currentDropSlotElement = null;
1043 this.currentDropSlotPosition = null;
1044 }
1045
1046 /**
1047 * Remove all gap/slot shift classes and custom properties.

Callers 2

updateDropSlotPreviewMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected