Contoh Alpine JS OnClick


<button x-on:click="alert('Hello World!')">Say Hi</button>

<button @click="alert('Hello World!')">Say Hi</button>
KostasX