Custom Events and Event Modifiers with x-on
Learn to handle custom events and use event modifiers with x-on.
Handle custom events
AlpineJS also supports handling custom events like native DOM events. It means we can dispatch an event and have AlpineJS listen for it.
Get hands-on with 1200+ tech skills courses.