is there anyway I can create a class that extends from EventEmitter?
wow. yes! I had no idea I could access Framer classes using Framer prefix. Thanks a lot!
JS/CS n00b here. What's the practical application for this? What does it allow you to do?
He's hooking into when events get fired. And doing custom stuff.
Dude, Isa! Thank you! Over a year later and swoops in for the kill.
Dude we already did this! 😁😂
I know we worked on options, but this is clean AF. Maybe it's been a while since I looked at those solutions, but this is making all kinds of sense right now.
By the way, what's :: doing there? I've never used that before. I'm actually unclear on the whole line.
Urf. These CS shortcuts. This is preferable:
Ah! You're passing it up the chain to EventEmitter!
Yep. You don't really even need to extend. But you can. Awesome this making sense. :)
:: is CoffeeScript shortcut for JS prototype. Which, to be very brief, is an idea/structure that JS uses in place of actual inheritance.