File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -112,13 +112,13 @@ class Animation extends AbstractDomElement {
112
112
// defaults
113
113
// ----
114
114
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
116
116
animationClass : 'js-animation-opacity' ,
117
- // class added when the element is visible
117
+ // class added when the element is in the start/end range
118
118
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) []
120
120
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) []
122
122
end : 0.75 ,
123
123
// if true, the instance will be destroyed after the element is visible
124
124
playOnce : false ,
You can’t perform that action at this time.
0 commit comments