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
Fix types and documentation for scrollTo() alignment options (#2703)
* Fix types and documentation for scrollTo() alignment options
Signed-off-by: Bart van Oort <[email protected]>
* Bump package version to 1.3.10
Signed-off-by: Bart van Oort <[email protected]>
---------
Signed-off-by: Bart van Oort <[email protected]>
* The alignment parameters can be overridden, see below.
1249
-
* Tthe possible values reference are available at the https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollIntoView.
1250
-
*
1249
+
* A reference of the possible values for the alignment parameters is available at https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollIntoView.
* @param {selector|string} selector - A selector of an element to scroll to.
1260
1259
* @param {Object} options
1261
1260
* @param {boolean} [options.waitForNavigation=true] - Wait for navigation after the goto. Default navigationTimeout is 30 seconds to override pass `{ navigationTimeout: 10000 }` in `options` parameter.
1262
1261
* @param {string[]} [options.waitForEvents = []] - Events available to wait for ['DOMContentLoaded', 'loadEventFired', 'networkAlmostIdle', 'networkIdle', 'firstPaint', 'firstContentfulPaint', 'firstMeaningfulPaint', 'targetNavigated']
1263
1262
* @param {number} [options.navigationTimeout=30000] - Navigation timeout value in milliseconds for navigation after click.
1264
-
* @param {number} [options.waitForStart = 100] - time to wait for navigation to start. Accepts value in milliseconds.
0 commit comments