brentongunning/voodoo.js

Support dispatching custom events

Closed this issue · 0 comments

Developer should be able to fire their own events that the user can listen to by using the same 'on' interface that voodoo fires events over. This can be useful for say a toggle button where the user might want to respond to the toggle up and toggle down events separately.