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: doc/options.md
+14Lines changed: 14 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -83,3 +83,17 @@ For example:
83
83
Setting a `negativeMargin` of 250 means that IAS will start loading 250 pixel before the last item has scrolled into view.
84
84
85
85
Note: user experience can degrade if new pages are loaded too quickly without visual feedback (also see [delay](options.html#delay)). Use with caution.
86
+
87
+
### initialize
88
+
89
+
<dl>
90
+
<dt>Type</dt>
91
+
<dd>boolean</dd>
92
+
93
+
<dt>Default</dt>
94
+
<dd>true</dd>
95
+
</dl>
96
+
97
+
By default IAS initializes when the document is ready. During initialisation IAS binds to the scroll event and prefills the container when the content is shorter then the page fold.
98
+
99
+
If you want to control when IAS initializes yourself, you can set this value to false.
0 commit comments