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 01f92ab commit 29068adCopy full SHA for 29068ad
src/classes/ParallaxController.ts
@@ -171,8 +171,7 @@ export class ParallaxController {
171
* Determines if the element is in view based on the cached
172
* attributes, if so set the elements parallax styles.
173
*/
174
- // @ts-ignore
175
- private _updateAllElements({ updateCache }: { updateCache: boolean } = {}) {
+ private _updateAllElements({ updateCache }: { updateCache?: boolean } = {}) {
176
if (this.elements) {
177
this.elements.forEach((element) => {
178
this._updateElementPosition(element);
0 commit comments