monkberry-events

Add events handling to monkberry views.

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
monkberry-events
314.0.88 years ago8 years agoMinified + gzip package size for monkberry-events in KB

Readme

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.