eventbeacon 0.1.1

An event emitter

Released 2015-01-07.

To install, run:

haxelib install eventbeacon 0.1.1

See using Haxelib in Haxelib documentation for more information.

Maintainerstoney
Websitehttps://github.com/eventbeacon/eventbeacon-haxe
Current version0.1.1
StatisticsInstalled 12 times
LicensePublic
Tags cross, event

README.md

eventbeacon

Eventbeacon in HaXe

How to use it

import eventbeacon.Beacon;

// ...

var beacon = new Beacon();
beacon.on('test', function(event) {
	// Getting the payload of the event
	trace(event.data);
});

beacon.trigger('test', 'Triggered that test event. Super cool.');

License

Eventbeacon is public domain. If that does not work for you, feel free to use it under terms of the MIT license instead.