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

  • 關於本站
  • 免責聲明