I have an AngularJS animation...
app.animation('slide-show', function () {
return {
setup: function (element) {
},
start: function (element, done) {
element.slideDown(400, done);
}
};
} );
app.animation('slide-hide', function () {
return {
setup: function (element) {
},
start: function (element, done) {
element.slideUp(400, done);
}
};
} );
I would like to be able to supply an additional "complete" callback as a parameter to the start() methods so that it can be invoked/passed to the jQuery methods. Is this somehow possible through the animation directives?