Skip to content

ValorLin/delegate-events

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

delegate-events

Delegate all events with one call.

Usage

DEMO

delegate(document.body, {
    'click .btn-test': function () {
        alert('click button');
    },
    'focus .input-test': function (e) {
        alert('focus')
    }
});

Compatibility

IE9+

About

Delegate all events with one call.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published