logo
  • 教程列表
  • SO官方文档
  • 振动 API
    • 单振动
    • 检查支持
    • 振动模式
  1. StackOverflow 文档
  2. JavaScript 教程
  3. 振动 API
  4. 检查支持

检查支持

Created: November-22, 2018

检查浏览器是否支持振动

if ('vibrate' in window.navigator)
    // browser has support for vibrations
else
    // no support
  • 振动模式
  • 单振动

Copyright © 2018. All right reserved

tastones.com 备案号:鲁ICP备18045372号-1

  • 关于我们
  • 免责声明