textillate
textillate copied to clipboard
cant get the animation out to work
not sure if i forgot something :/
$(function () {
$('.search-helper').textillate({
in: {
effect: 'bounce',
delayScale: 1.5,
delay: 50,
sync: false,
shuffle: false,
reverse: false,
callback: function () {}
},
out: {
effect: 'bounce',
delayScale: 1.5,
delay: 50,
sync: false,
shuffle: false,
reverse: true,
callback: function () {}
}
});
});
same problem here
Out is enabled only when you set
loop: true
Check: https://github.com/jschr/textillate/issues/5
This will work for you
element.textillate({loop: true, in: { effect: 'fadeInLeftBig'}, out: { effect: 'fadeOut'}});
element.on('outAnimationEnd.tlt', function(){
// do something
});