Skip to content

Commit 461f912

Browse files
author
signorato.g@pg.com
committed
# Conflicts: # README.md # package-lock.json
2 parents 23ff83b + 8dff9f1 commit 461f912

File tree

2 files changed

+33
-13
lines changed

2 files changed

+33
-13
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,8 @@ new simpleParallax(images, {
8484
delay: 0,
8585
orientation: 'down',
8686
scale: 1.3,
87-
overfow: true
87+
overflow: true,
88+
customContainer: '.container'
8889
});
8990
```
9091

@@ -103,7 +104,7 @@ When a delay is set, the translation of the image will slightly continue when th
103104
### transition - *string*
104105
The transition works closely with the delay setting. The transition will add any CSS effect to the delay setting.
105106

106-
###customContainer - *string or node*
107+
### customContainer - *string or node*
107108
In some cases, you want the parallax effects to be apply on a container that have its own scroll, and not apply the parallax effects via the document scroll.
108109

109110
###maxTransition - *int*

package-lock.json

Lines changed: 30 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)