UI API - Custom Events

Longtime developer, new to wow addons and lua. Can we emit custom events in our addon similar to how the CustomEvent interface works in javascript? h t t p s / / developer . mozilla . org/en-US/docs/Web/API/CustomEvent

This is a better question for the UI and Macro forum. This forum is about fixing connectivity or system issues, not addon developer support.

Thank you. I looked for a forum like that but wasn’t able to find it. I’ll poke through existing threads there and then repost if I don’t find a similar one.