We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 037a27b commit 2a141c2Copy full SHA for 2a141c2
readme.md
@@ -53,6 +53,11 @@ The options object for `$.fn.smoothScroll` can take two additional properties:
53
selectors, DOM elements or jQuery objects. Default value for both is an
54
empty array.
55
56
+#### Setting options after initial call
57
+
58
+If you need to change any of the options after you've already called `.smoothScroll()`,
59
+you can do so by passing the `"options"` string as the first argument and an
60
+options object as the second.
61
62
### $.smoothScroll
63
@@ -84,7 +89,7 @@ for `$.smoothScroll`:
84
89
{
85
90
// jQuery set of elements you wish to scroll.
86
91
// if null (default), $('html, body').firstScrollable() is used.
87
- scrollElement: null,
92
+ scrollElement: null
88
93
}
94
```
95
0 commit comments