开发者

Can I set global fx properties in MooTools?

开发者 https://www.devze.com 2022-12-08 04:33 出处:网络
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.r

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.


You can use implement() to overwrite the default values.

Fx.implement({options: {duration: 600}}) 
0

精彩评论

暂无评论...
验证码 换一张
取 消