1.3.5 • Published 4 years ago

event.es6 v1.3.5

Weekly downloads
3
License
MIT
Repository
github
Last release
4 years ago

event.es6

A simple event lib for fire/emit and on/off (or subscribe/unsubscribe whatever you like 😁)

usage

import { Event } from 'event.es6';
const event = new Event();

event.on('say', function(what) {
  // or event.subscribe('say', function(what){...})
  console.log(what);
});
event.emit('say', 'nothing'); // or event.fire('say', 'nothing')

// remove event
event.off('say'); // or event.unsubscribe('say')
1.3.5

4 years ago

1.3.4

4 years ago

1.3.3

4 years ago

1.2.3

4 years ago

1.2.2

4 years ago

1.2.1

4 years ago

1.2.0

4 years ago

1.1.0

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago

1.0.8

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.3

4 years ago

0.0.7

8 years ago

0.0.6

8 years ago

0.0.5

8 years ago

0.0.4

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago