## Install with npm
:
npm i --save bind-on-events
How to use
jQuery is required.
click and see
should require you define letSee function as scope. In jquery, you can bind click event to your function like this
;
so with bind-on-events, you can do it like this
var bindEvents = ; var service = { } ;
and html like this
click and see
Event supported
- xbn-on-click
- xbn-on-blur
- xbn-on-enter
- xbn-on-change