Skip to content

Commit 1f52b84

Browse files
committed
wording
1 parent baa1dad commit 1f52b84

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/js/classes/Animation.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -112,13 +112,13 @@ class Animation extends AbstractDomElement {
112112
// defaults
113113
// ----
114114
Animation.defaults = {
115-
// wanted animation, the class will be added on the element if already on it
115+
// wanted animation, the class will be added on the element if is not already on it
116116
animationClass: 'js-animation-opacity',
117-
// class added when the element is visible
117+
// class added when the element is in the start/end range
118118
visibleClass: 'is-visible',
119-
// start (relative to bottom of the screen), can be a float, a function (element) {} or an array of two values []
119+
// start (relative to bottom of the screen), can be a float, a function (element) {} or an array of two values (range) []
120120
start: 0.25,
121-
// end (relative to bottom of the screen), can be a float, a function (element) {} or an array of two values []
121+
// end (relative to bottom of the screen), can be a float, a function (element) {} or an array of two values (range) []
122122
end: 0.75,
123123
// if true, the instance will be destroyed after the element is visible
124124
playOnce: false,

0 commit comments

Comments
 (0)