monkberry / events

Add events handling to Monkberry views.
3 stars 0 forks source link

Monkberry Events

Add events handling to monkberry views.

Install

npm install monkberry-events --save

Usage

import Monkberry from 'monkberry';
import 'monkberry-events';

var view = Monkberry.render(Template, document.body);

view.on('click', '.button', (event) => ...);

Monkberry events is using dom-delegate library.