Skip to content

Latest commit

 

History

History
14 lines (9 loc) · 312 Bytes

README.md

File metadata and controls

14 lines (9 loc) · 312 Bytes

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