MCPcopy Create free account
hub / github.com/ChartGPU/ChartGPU / setPointerCaptureBestEffort

Function setPointerCaptureBestEffort

src/components/createDataZoomSlider.ts:137–143  ·  view source on GitHub ↗
(el: Element, pointerId: number)

Source from the content-addressed store, hash-verified

135 };
136
137 const setPointerCaptureBestEffort = (el: Element, pointerId: number): void => {
138 try {
139 (el as HTMLElement).setPointerCapture(pointerId);
140 } catch {
141 // Ignore (best-effort).
142 }
143 };
144
145 const releasePointerCaptureBestEffort = (el: Element, pointerId: number): void => {
146 try {

Callers 1

startDragFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected