Adjust animation speed and remove useless arguments
This commit is contained in:
@@ -4,20 +4,10 @@
|
||||
|
||||
.cardImageContainer.lazy.lazy-image-fadein {
|
||||
opacity: 1;
|
||||
transition: opacity 1s;
|
||||
transition: opacity 0.7s;
|
||||
}
|
||||
|
||||
.cardImageContainer.lazy.lazy-image-fadein-fast {
|
||||
opacity: 1;
|
||||
transition: opacity 0.5s;
|
||||
}
|
||||
|
||||
@keyframes lazy-image-fadein {
|
||||
from {
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
to {
|
||||
opacity: 1;
|
||||
}
|
||||
transition: opacity 0.2s;
|
||||
}
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
});
|
||||
}
|
||||
|
||||
destroyObserver(elements) {
|
||||
destroyObserver() {
|
||||
const observer = this.observer;
|
||||
|
||||
if (observer) {
|
||||
@@ -40,7 +40,7 @@
|
||||
}
|
||||
}
|
||||
|
||||
destroy(elements) {
|
||||
destroy() {
|
||||
this.destroyObserver();
|
||||
this.options = null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user