0 minutes, 15 seconds

Alpinet Test XBING

x-on allows you to easily run code on dispatched DOM events.

Just like Vue, Alpine makes handling mouse and keyboard events seamless by providing a x-on directive.

This directive attaches an event listener to an element and executes some JavaScript when the event is triggered.

Previous Next