Easy jQuery Plugin

A simple library to easy the process of making jQuery plugin

Code on Github

Initiliaze Plugin

$('#result').easyButton();

Calling method with string parameter

$('#result').easyButton('changeState', 'loading');

Code Example