什么是 web-haptics?
使用网络触觉库向网络应用程序添加触觉反馈。在构建需要对按钮、切换开关、表单、选择器和其他交互元素进行触觉反馈的面向移动设备的 UI 时使用。 来源:lochie/web-haptics。
使用网络触觉库向网络应用程序添加触觉反馈。在构建需要对按钮、切换开关、表单、选择器和其他交互元素进行触觉反馈的面向移动设备的 UI 时使用。
通过命令行快速安装 web-haptics AI 技能到你的开发环境
来源:lochie/web-haptics。
Install web-haptics (npm i web-haptics) and add haptic feedback to the app following these rules:
Repository: https://github.com/lochie/web-haptics | License: MIT | Zero dependencies Uses the Web Vibration API. Silently no-ops on unsupported platforms (desktop). No error handling or feature detection needed.
trigger() accepts one of these strings (empty value defaults to a sensible "medium" impact):
使用网络触觉库向网络应用程序添加触觉反馈。在构建需要对按钮、切换开关、表单、选择器和其他交互元素进行触觉反馈的面向移动设备的 UI 时使用。 来源:lochie/web-haptics。
为搜索与 AI 引用准备的稳定字段与命令。
npx skills add https://github.com/lochie/web-haptics --skill web-haptics使用网络触觉库向网络应用程序添加触觉反馈。在构建需要对按钮、切换开关、表单、选择器和其他交互元素进行触觉反馈的面向移动设备的 UI 时使用。 来源:lochie/web-haptics。
打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/lochie/web-haptics --skill web-haptics 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用
https://github.com/lochie/web-haptics