@tamer4lynx/jiggle

Vibration/haptic native module for Lynx. Exposes vibrate(durationMs) to the Lynx runtime.

Installation

t4l add jiggle

Run t4l link after installing.

API

MethodDescription
vibrate(durationMs)Vibrates the device for the provided duration in milliseconds

Parameters: durationMs (number) — duration in milliseconds.

Usage:

if (global.NativeModules?.Jiggle) {
  NativeModules.Jiggle.vibrate(200)
}

Platform

Uses lynx.ext.json. Run t4l link after adding to your app.