Skip to content

joewhat/jquery-plugin-boilerplate

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 

Repository files navigation

jQuery-Plugin-Boilerplate

Usage test

$('.some-element').jqueryPlugin({
    defaultOption: 'Overwrite some default option',
    onEventCallback: function(data) {
        console.log('onEventCallback:', data);
    }
});

console.log($('.some-element').jqueryPlugin('someGetterMethod'));

About

a fork with my extras and examples

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published