Skip to content

arieh/Function.instantiate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Function.instantiate

Function.instantiate allows you to pass dynamically created arguments list to the new operator.

How to use

You can use the method in 2 ways:

#JS
var fx = Function.instantiate(Fx.Morph,[$('el')]);

var fx = Fx.Morph.instantiate([$('el')]);

About

Provides a mechanism for an apply-like operation for the new operator for Mootools

Resources

Stars

Watchers

Forks

Packages

No packages published