Merge pull request #6686 from darkdh/swipe_prefs
Swipe back/forward should respect system preferences
This commit is contained in:
commit
322fb97d8d
4 changed files with 17 additions and 0 deletions
|
@ -13,6 +13,10 @@ console.log(systemPreferences.isDarkMode())
|
|||
|
||||
This method returns `true` if the system is in Dark Mode, and `false` otherwise.
|
||||
|
||||
### `systemPreferences.isSwipeTrackingFromScrollEventsEnabled()` _macOS_
|
||||
|
||||
This method returns `true` if the Swipe between pages setting is on, and `false` otherwise.
|
||||
|
||||
### `systemPreferences.subscribeNotification(event, callback)` _macOS_
|
||||
|
||||
* `event` String
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue