If I'm building my own components, is there a way that they can emit custom events?If so does someone have a best practices example for defining and throwing custom events ?
Mike Feldstein is it possible to also pass along some more information along with emit event? I am looking to send event as well as a value
class GermansUnit extends Framer.EventEmitter constructor: () -> setInterval @doEmit, 1000 doEmit: () => @emit "some-event"
unit = new GermansUnitunit.on "some-event", -> print("Hey Hey")
Thanks Mike, much appreciated!