Provides a mechanism for an apply-like operation for the new operator for Mootools
JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Source
README.md
package.yml

README.md

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')]);