jquery-boilerplate / jquery-patterns

A variety of jQuery plugin patterns for jump starting your plugin development
1.59k stars 242 forks source link

Added method access #34

Closed deanapeterson closed 10 years ago

stevenbriscoeca commented 7 years ago

I don't why this was closed, but I think this is pretty useful PR.

Should be re-opened and evaluated.

This PR makes it so you can pass methods in strings ex : $("myElement").myPlugin("show");