Function.instantiate allows you to pass dynamically created arguments list to the new operator.
- _self_/_current_: core/1.3: [Class,Class.Extras]
How to use
You can use the method in 2 ways:
var fx = Function.instantiate(Fx.Morph,[$('el')]); var fx = Fx.Morph.instantiate([$('el')]);
A note on comments here: These comments are moderated. No comments will show up until they are approved. Comments that are not productive (i.e. inflammatory, rude, etc) will not be approved.
Found a bug in this plugin? Please report it this repository's Github Issues.blog comments powered by Disqus