@glasshome/widget-sdk 0.3.5 → 0.3.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -42,6 +42,13 @@ export interface GestureHandlers {
42
42
  * receives the pointer handlers.
43
43
  */
44
44
  bindElement: (el: HTMLElement) => void;
45
+ /**
46
+ * CSS `touch-action` value for the gesture root. Horizontal slide → `pan-y`
47
+ * (page scrolls vertically, slider owns horizontal). Vertical slide → `pan-x`.
48
+ * Tap/hold only → `manipulation`. Without this, mobile browsers cancel the
49
+ * pointer mid-slide once they decide the touch is a pan.
50
+ */
51
+ touchAction: () => string;
45
52
  /** Cancel any pending hold/slide timers. Call on component unmount via onCleanup. */
46
53
  dispose: () => void;
47
54
  }