sercrod

*haptics

*haptics delegates tactile feedback to the sercrod.haptics adapter. Feedback actions are explicit user actions; *haptics.status may auto-start once on non-clickable elements.

<button type="button" *haptics.impact="'medium'">Tap</button>
<button type="button" *haptics.selection>Choose</button>
<button type="button" *haptics.notification="'success'">Done</button>
<p *haptics.status *response="'hapticsStatus'"></p>

Use *haptics.impact="'heavy'" when the app wants a stronger physical cue. *haptics.notification maps to platform notification patterns; warning is not guaranteed to feel stronger than error on every device.

Results are written to $haptics. Status also updates $haptics_supported. Use *response for application data placement when the app needs to inspect the result.

The adapter owns tactile feedback only. It does not create gestures, handle pointer events, play sound, animate UI, show notifications, navigate, or make application policy decisions.