How can I insert a pause between 2 transitions.
delay(3000) is ignored:
$('.message').transition('drop').delay(3000).transition('drop');
How can i drop a message, wait 3 sec. and drop the message away?
Thanks
Hi @koup, you can use interval property:
$('.ui.message')
.transition({
animation: 'drop',
interval: 3000,
})
.transition('drop')
Hi Banandrew
Unfortunately this does not work. The message disappears immediately.
Thanks
@koup Sorry about that, add .transition.hidden classes to your message to hide it initially, then do it the other way around:
$('.ui.message')
.transition('drop')
.transition({
animation: 'drop',
interval: 3000,
})
Many thanks, now it works 馃槈
you can use this ->
jQuery('#segment').transition('tada',1500);
teda is our animation and 1500 is time in ms
Most helpful comment
@koup Sorry about that, add
.transition.hiddenclasses to your message to hide it initially, then do it the other way around: