Closed JSLegendDev closed 2 months ago
I opted to just add to the existing doc that you can have custom events with an example instead of removing what was there before.
@lajbel Addressed feedback and fixed spacing issues.
Thank you for your contribution to documentation! 🔥
In the Kaboom.js docs, it's not clear how to use the
on()
function used to define custom events. I tried to improve the docs to make usage more clear.