Bloggermint |
jQuery Boilerplate For Kickass jQuery Plugin Development Posted: 28 Jul 2011 08:43 AM PDT jQuery Boilerplate is a skeletal framework for getting started with jQuery plugin development in minutes. The jQuery Boilerplate is object oriented and implements public, private methods and as well as public, private properties. Using the boilerplate, jQuery learners can get started with plugin development without having to start coding from the scratch. Personally I am a big fan of these boilerplates and I hope to see many more like this to come up in the future to simplify web development works. $(document).ready(function() { // attach the plugin to an element $('#hello').pluginName({'foo': 'bar'}); // call a public method $('#hello').data('pluginName').foo_public_method(); // get the value of a property $('#hello').data('pluginName').settings.foo; }); I love this, if you too love this, say hi to the people behind this jQuery Boilerplate Zeno Rocha (@zenorocha) and Stefan Gabos (@stefangabos) Also read |
You are subscribed to email updates from Bloggermint To stop receiving these emails, you may unsubscribe now. | Email delivery powered by Google |
Google Inc., 20 West Kinzie, Chicago IL USA 60610 |
0 comments:
Post a Comment