Merge pull request #6686 from darkdh/swipe_prefs

Swipe back/forward should respect system preferences
This commit is contained in:
Cheng Zhao 2016-08-03 16:10:29 +09:00 committed by GitHub
commit 322fb97d8d
4 changed files with 17 additions and 0 deletions

View file

@ -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