vendor/assets/application/examples/animation.rb in atome-0.5.6.2.5 vs vendor/assets/application/examples/animation.rb in atome-0.5.6.2.7

- old
+ new

@@ -81,16 +81,11 @@ #TODO : make the code above works # create a animation object # create callback methode when playing +# # here is how to animate shape : -# here is how to animate shape : -new({particle: :animate}) do |params| - html.play_animation({ from: 0, to: 300, duration: 1000 }) -end - - b=box({id: :the_box}) -b.animate(true) + b.animate({ to: 90 })