ariatemplates - Aria Templates animations -


i trying achieve sliding animation effect using at.

i checked aria.utils.css.animations, not clear syntax , feel cfg beans parameteres limited.

for ex: want achieve animation effect slide un-animated ul element timing of 200ms , have execute function animation completed.

the jquery code shown below.

$('#slides ul:not(:animated)').animate({'left' : -250}, 200,function(){ }); 

can have respective functionality using at. tried following code to slide element.

aria.utils.css.animations.start("slide",({'from':aria.utils.dom.getdomelementschildbytagname(slides, "li")[0]}),  

but of no use.

i need working example of änimations using at. help..

yes far cfg bean limited , possible define few things , between them timing not included.

you can slide left element using "slide" animation , can call function adding listener event "animationend" , execute function.

here code trying do:

var animate = new aria.utils.css.animations(); var cfg = {     : aria.utils.dom.getdomelementschildbytagname(slides, "li")[0] };  animate.$on({     "animationend" : animationcomplete,     scope : });  animate.start("slide", cfg); 

about examples, writing documentation of examples have, hope publish them soon.


Comments

Popular posts from this blog

php - Why I am getting the Error "Commands out of sync; you can't run this command now" -

linux - Does gcc have any options to add version info in ELF binary file? -

java - Are there any classes that implement javax.persistence.Parameter<T>? -