Is there a way to set some default properties for MooTools effects, such as duration or transition?
This will make it easier to perform all such effects as element.tween();or element.reveal().
element.tween();
element.reveal()
You can use the () function to overwrite the default values.
Fx.implement({options: {duration: 600}})
Source: https://habr.com/ru/post/1719987/More articles:StackOverflowException in LINQ to SQL - .netSQL conversion - LINQ - problem using both Min / Max - sqlHow to merge forward in svn? - branchCustom compiler warnings in Visual Studio 2008 - compiler-warningsIn Oracle, what is SQL querying for rows to appear? - sqlReading a large number of small files in a sequence - c #Cocoa JSON - check if array or dictionary is being used - jsonะะฝะตัะฝัั ะบะฐััะฐ NHibernate - nhibernateHow to conditionally send svn commit e-mail based on keywords for commit? - svnNHibernate Validator - Passing Resource Manager and Key - c #All Articles