⛰️

x-on:mounted

Overview

Registers a callback to be called after the component has been mounted.

Example

<div id="myComponent" x-on:mounted="fetchData($store)">
...
</div>