Revo Docs

Lazy

A component that will display its inner content while loading the url with ajax.

<x-ui::lazy :url="route('lazy')" method="GET" />
Copied!

Spinner

Instead of the loading placeholder you can use the spinner

<x-ui::lazy :route="route('lazy')" method="GET" loading="spinner" />
Copied!

Custom loading

You can have your own loading indicator

My own loading
<x-ui::lazy :url="route('lazy')" method="GET">
    My own loading
</x-ui::lazy>
Copied!