You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
-8Lines changed: 0 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -71,10 +71,8 @@ export default props => (
71
71
|`followButtonClassName`|`string`|| Set the class name for the follow button |
72
72
|`initialScrollBehavior`|`string`|`smooth`| Set the initial scroll behavior, either `"auto"` (discrete scrolling) or `"smooth"`|
73
73
|`mode`|`string`|`"bottom"`| Set it to `"bottom"` for scroll-to-bottom, `"top"` for scroll-to-top |
74
-
|`nonce`|`string`|| Set the nonce for [Content Security Policy](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy)|
75
74
|`scroller`|`function`|`() => Infinity`| A function to determine how far should scroll when scroll is needed |
76
75
|`scrollViewClassName`|`string`|| Set the class name for the container element that house all `props.children`|
77
-
|`styleOptions.stylesRoot`|`Node`|`undefined`| Set the container node for component styles to be placed into. When set to `undefined`, will use `document.head`|
78
76
79
77
## Hooks
80
78
@@ -427,12 +425,6 @@ By default, the `scroller` function will returns `Infinity`. When new content is
427
425
428
426
You can return a different value (in number) to indicates how far you want to scroll when the content has changed. If you return `0`, the scrollable will stop scrolling for any new content. Returning any values less than `maxValue` will make the scrollable to lose its stickiness after animation. After the scrollable lose its stickiness, the `scroller` function will not be called again for any future content change, until the scrollable regains its stickiness.
429
427
430
-
# Security
431
-
432
-
We support nonce-based [Content Security Policy](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy). To enable, the following directive is required:
0 commit comments