npm.io
1.0.2 • Published 8 years ago

fire-html-event

Licence
ISC
Version
1.0.2
Deps
0
Vulns
0
Weekly
0
Stars
1

Pass an element and the event name to fire. The event is then fired.

Usage

var fireEvent = require('fire-html-event');

fireEvent(element, 'change');
// change event is fired for the passed element.