change/set Fx options

67 views
Skip to first unread message

Chad Meyers

unread,
Oct 31, 2012, 2:35:55 PM10/31/12
to mootool...@googlegroups.com
Can you change the options of an Fx after it has been set?

Ex.

var myFx = new Fx.Tween(el, { duration: 750 })

How can I change the "duration" later?

Aaron Newton

unread,
Oct 31, 2012, 2:45:23 PM10/31/12
to mootool...@googlegroups.com
myFx.setOptions({ duration: 1000 })

Starling Design Co.

unread,
Oct 31, 2012, 3:03:40 PM10/31/12
to mootool...@googlegroups.com
awesome thanks!
Reply all
Reply to author
Forward
0 new messages