Add scrollBounce option and disable it by default

This commit is contained in:
Cheng Zhao 2016-05-06 14:57:43 +09:00
parent 4ce26dfa68
commit df397dab30
5 changed files with 35 additions and 0 deletions

View file

@ -170,6 +170,8 @@ The `webPreferences` option is an object that can have following properties:
canvas features. Default is `false`.
* `directWrite` Boolean - Enables DirectWrite font rendering system on
Windows. Default is `true`.
* `scrollBounce` Boolean - Enables scroll bounce (rubber banding) effect on
OS X. Default is `false`.
* `blinkFeatures` String - A list of feature strings separated by `,`, like
`CSSVariables,KeyboardEventKey`. The full list of supported feature strings
can be found in the [setFeatureEnabledFromString][blink-feature-string]