MCPcopy Create free account
hub / github.com/CatMuse/HiNote / constructor

Method constructor

src/views/selection/SelectionManager.ts:21–28  ·  view source on GitHub ↗
(highlightContainer: HTMLElement)

Source from the content-addressed store, hash-verified

19 private onSelectionChangeCallback: ((selectedCount: number) => void) | null = null;
20
21 constructor(highlightContainer: HTMLElement) {
22 this.highlightContainer = highlightContainer;
23 this.selectionBoxController = new SelectionBoxController({
24 highlightContainer,
25 clearSelection: () => this.clearSelection(),
26 updateSelectedHighlights: () => this.updateSelectedHighlights()
27 });
28 }
29
30 /**
31 * 设置选择变化回调

Callers

nothing calls this directly

Calls 2

clearSelectionMethod · 0.95

Tested by

no test coverage detected