Skip to content

Commit

Permalink
animation inverse global prop & some typos
Browse files Browse the repository at this point in the history
  • Loading branch information
jesvijonathan committed Nov 10, 2023
1 parent 07a280c commit d7c0f5e
Show file tree
Hide file tree
Showing 9 changed files with 13 additions and 15 deletions.
5 changes: 2 additions & 3 deletions dev/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,7 @@
></div>
<div
class="box jos debug777"
data-jos_animationinverse="fade-play"
data-jos_animation="slide"
data-jos_animation="skew-up"
data-jos_scrollDirection="down"
></div>
<div
Expand Down Expand Up @@ -310,7 +309,7 @@
//mirror: "false",
//disable: true, // Disable JOS gloabaly | Values : 'true', 'false'
debugMode: true, // Enable JOS debug mode | Values : 'true', 'false'
passive: true, // Set the passive option for the scroll event listener | Values : 'true', 'false'
passive: false, // Set the passive option for the scroll event listener | Values : 'true', 'false'

once: false, // Disable JOS after first animation | Values : 'true', 'false'
animation: "fade", // JOS global animation type | Values : 'fade', 'slide', 'zoom', 'flip', 'fade-right', 'fade-left', 'fade-up', 'fade-down', 'zoom-in-right', 'zoom-in-left', 'zoom-in-up', 'zoom-in-down', 'zoom-out-right', 'zoom-out-left', 'zoom-out-up', 'zoom-out-down', 'flip-right', 'flip-left', 'flip-up', 'flip-down, "my-custom-animation"
Expand Down
2 changes: 1 addition & 1 deletion dev/jos.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions dist/jos.debug.js
Original file line number Diff line number Diff line change
Expand Up @@ -579,7 +579,7 @@ class jos {
timingFunction,
threshold,
startVisible,
scrollDirection,
scrolldirection,
intersectionRatio,
duration,
mirror,
Expand All @@ -599,7 +599,7 @@ class jos {
this.default_threshold = threshold || this.default_threshold;
this.default_startVisible = startVisible || this.default_startVisible;
this.default_scrolldirection =
scrollDirection || this.default_scrolldirection;
scrolldirection || this.default_scrolldirection;
this.default_intersectionRatio =
intersectionRatio || this.default_threshold;
this.default_duration = duration || this.default_duration;
Expand Down
2 changes: 1 addition & 1 deletion dist/jos.js

Large diffs are not rendered by default.

Loading

0 comments on commit d7c0f5e

Please sign in to comment.