Skip to content

Commit

Permalink
Update: Sensors compatibility note
Browse files Browse the repository at this point in the history
  • Loading branch information
AmosHuKe committed Dec 16, 2023
1 parent afea216 commit c5d1302
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions README-ZH.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,8 +136,9 @@ dependencies:
| :-----: | :---: | :------------------------------------------: | :---: | :---: | :-----: |
| ✅ | ✅ | [浏览器兼容][Gyroscope Browser compatibility] | ❌ | ❌ | ❌ |
* 目前 Web 使用 [Sensor API - Gyroscope][],但它不兼容部分主流浏览器,比如 Safari、Firefox。
之后也许会替换为 [DeviceMotionEvent][]。
> [!NOTE]
> 目前 Web 使用 [Sensor API - Gyroscope][],但它不兼容部分主流浏览器,比如 Safari、Firefox。
> 之后也许会替换为 [DeviceMotionEvent][]。
## 手势优先级 📱
Expand Down
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,9 @@ Sensors are triggered only on these platforms.
| :-----: | :---: | :------------------------------------------------------: | :---: | :---: | :-----: |
| ✅ | ✅ | [Browser compatibility][Gyroscope Browser compatibility] | ❌ | ❌ | ❌ |
* Currently Web uses the [Sensor API - Gyroscope], but it is not compatible with some of the major browsers, such as Safari, Firefox.
After that maybe replace it with [DeviceMotionEvent][].
> [!NOTE]
> Currently Web uses the [Sensor API - Gyroscope], but it is not compatible with some of the major browsers, such as Safari, Firefox.
> After that maybe replace it with [DeviceMotionEvent][].
## Gesture priority 📱
Expand Down

0 comments on commit c5d1302

Please sign in to comment.