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
|**speed**|`number`|| A value representing the elements scroll speed. If less than zero scroll will appear slower. If greater than zero scroll will appear faster. |
57
-
|**easing**|`string` or `number[]`|| String representing an [easing preset](#easing-presets) or array of params to supply to a [cubic bezier easing function](#cubic-bezier-easing-function). |
58
-
|**rootMargin**|`object`|| Margin to be applied as the bounds around an element. This will affect when an element is determined to be considered in the viewport. Example: `{ top: 100, right: 100, bottom: 100, left: 100 }`|
59
-
|**className**|`string`|| Optionally pass additional class names to be added to the outermost parallax element. |
60
-
|**disabled**|`boolean`|`false`| Disables parallax effects on individual elements when `true`. |
61
-
|**styleInner**|`object`|| Optionally pass a style object to be added to the innermost parallax element. |
62
-
|**styleOuter**|`object`|| Optionally pass a style object to be added to the outermost parallax element. |
63
-
|**tagInner**|`string`|`div`| Optionally pass an element tag name to be applied to the innermost parallax element. |
64
-
|**tagOuter**|`string`|`div`| Optionally pass an element tag name to be applied to the outermost parallax element. |
|**speed**|`number`|| A value representing the elements scroll speed. If less than zero scroll will appear slower. If greater than zero scroll will appear faster. |
57
+
|**easing**|`string` or `number[]`|| String representing an [easing preset](#easing-presets) or array of params to supply to a [cubic bezier easing function](#cubic-bezier-easing-function). |
58
+
|**rootMargin**|`object`|| Margin to be applied as the bounds around an element. This will affect when an element is determined to be considered in the viewport. Example: `{ top: 100, right: 100, bottom: 100, left: 100 }`|
59
+
|**className**|`string`|| Optionally pass additional class names to be added to the outermost parallax element. |
60
+
|**disabled**|`boolean`|`false`| Disables parallax effects on individual elements when `true`. |
61
+
|**styleInner**|`object`|| Optionally pass a style object to be added to the innermost parallax element. |
62
+
|**styleOuter**|`object`|| Optionally pass a style object to be added to the outermost parallax element. |
63
+
|**tagInner**|`string`|`div`| Optionally pass an element tag name to be applied to the innermost parallax element. |
64
+
|**tagOuter**|`string`|`div`| Optionally pass an element tag name to be applied to the outermost parallax element. |
65
+
|**shouldStartAnimationInitialInView**|`boolean`|`false`| Will start the animation at initial element position if the element is positioned inside the view when scroll is at zero. |
0 commit comments