fix: track compiled RCL knob JS for MapStaticAssets deployment

This commit is contained in:
daniel-c-harvey
2026-06-18 13:14:09 -04:00
parent e9e6b6054f
commit 3a4db834ac
3 changed files with 22 additions and 1 deletions
@@ -0,0 +1,19 @@
/**
* knob - pointer capture helpers for RadialKnob.
*
* setPointerCapture / releasePointerCapture are not exposed via Blazor's
* ElementReference, so the component delegates here via JS interop.
* Both functions are no-ops when the element reference is stale (e.g. the
* component was disposed between the JS call and the microtask).
*/
/** Capture the pointer on the given element so pointermove/pointerup are
* delivered even when the cursor leaves the browser window. */
export function capturePointer(el, pointerId) {
el.setPointerCapture(pointerId);
}
/** Release a previously captured pointer. Called on pointercancel.
* pointerup releases capture implicitly, but we call this on cancel too. */
export function releasePointer(el, pointerId) {
el.releasePointerCapture(pointerId);
}
//# sourceMappingURL=/js/knob/knob.js.map