Skip to content

Commit d7c0f5e

Browse files
committed
animation inverse global prop & some typos
1 parent 07a280c commit d7c0f5e

File tree

9 files changed

+13
-15
lines changed

9 files changed

+13
-15
lines changed

dev/index.html

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,7 @@
8181
></div>
8282
<div
8383
class="box jos debug777"
84-
data-jos_animationinverse="fade-play"
85-
data-jos_animation="slide"
84+
data-jos_animation="skew-up"
8685
data-jos_scrollDirection="down"
8786
></div>
8887
<div
@@ -310,7 +309,7 @@
310309
//mirror: "false",
311310
//disable: true, // Disable JOS gloabaly | Values : 'true', 'false'
312311
debugMode: true, // Enable JOS debug mode | Values : 'true', 'false'
313-
passive: true, // Set the passive option for the scroll event listener | Values : 'true', 'false'
312+
passive: false, // Set the passive option for the scroll event listener | Values : 'true', 'false'
314313

315314
once: false, // Disable JOS after first animation | Values : 'true', 'false'
316315
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"

dev/jos.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/jos.debug.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -579,7 +579,7 @@ class jos {
579579
timingFunction,
580580
threshold,
581581
startVisible,
582-
scrollDirection,
582+
scrolldirection,
583583
intersectionRatio,
584584
duration,
585585
mirror,
@@ -599,7 +599,7 @@ class jos {
599599
this.default_threshold = threshold || this.default_threshold;
600600
this.default_startVisible = startVisible || this.default_startVisible;
601601
this.default_scrolldirection =
602-
scrollDirection || this.default_scrolldirection;
602+
scrolldirection || this.default_scrolldirection;
603603
this.default_intersectionRatio =
604604
intersectionRatio || this.default_threshold;
605605
this.default_duration = duration || this.default_duration;

dist/jos.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)