Is there a way to set some default properties for MooTools effects like duration or transition?
That would make it easier to make all those effects like element.tween();
or element.reveal()
uniform.
您可以使用implement()覆盖默认值。
Fx.implement({options: {duration: 600}})
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.