MCPcopy Create free account
hub / github.com/Robincodes-Sandbox/marker-highlight / constructor

Method constructor

src/RectModel.ts:5–8  ·  view source on GitHub ↗
(rect: DOMRect, mark: HTMLElement)

Source from the content-addressed store, hash-verified

3 mark: HTMLElement;
4
5 constructor(rect: DOMRect, mark: HTMLElement) {
6 this.rect = rect;
7 this.mark = mark;
8 }
9
10 isTerminatingWithinText(): boolean {
11 const range = document.createRange();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected