You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you for providing this package. I am trying this package out and the insert animation is working but for some reason, I am not able to get the remove animation to work.
Template.item.animations({
".item": {
animateInitial: true, // animate the intial elements
animateInitialStep: 200, // Step between each animation for each initial item
animateInitialDelay: 500,
container: ".item-container", // container of the ".item" elements
insert: {
class: "fade-in", // class applied to inserted elements
before: function (attrs, element, template) {
console.log('before insert');
}, // callback before the insert animation is triggered
after: function (attrs, element, template) {
console.log('after insert');
}, // callback after an element gets inserted
delay: 500 // Delay before inserted items animate
},
remove: {
class: "fade-out", // class applied to removed elements
before: function (attrs, element, template) {
console.log('before remove');
}, // callback before the remove animation is triggered
after: function (attrs, element, template) {
console.log('after remove');
}, // callback after an element gets removed
delay: 500 // Delay before removed items animate
}
}
});
The remove.before() and remove.after() functions are not even getting called (in fact even insert.after() is not getting called but insert animation seems to work). I am working with meteor version 1.3.2.4.
I added the package - natestrauser:animate-css after looking at this issue - #8 but that didn't work either. Please help me fix it.
The text was updated successfully, but these errors were encountered:
Thank you for providing this package. I am trying this package out and the insert animation is working but for some reason, I am not able to get the remove animation to work.
The remove.before() and remove.after() functions are not even getting called (in fact even insert.after() is not getting called but insert animation seems to work). I am working with meteor version 1.3.2.4.
I added the package - natestrauser:animate-css after looking at this issue - #8 but that didn't work either. Please help me fix it.
The text was updated successfully, but these errors were encountered: