# loading

<script>
  import { pricingUrl } from '$docs-config';
</script>

Triggered when event or resource fetching starts/stops.

<div class='spec'>

function( *isLoading* )

</div>

Triggered with a `true` argument when the calendar begins fetching events via AJAX. Triggered with `false` when done.

This function is often used to show/hide a loading indicator.

When one of the [resource plugins]({pricingUrl}) are loaded, this callback is also fired when resources are fetched.
