(highlightContainer: HTMLElement)
| 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 | * 设置选择变化回调 |
nothing calls this directly
no test coverage detected