Skip to content

$loading

The loading store is writable store that indicates whether the form is submitting or not.

<script lang="ts">
import { faivform } from '@tuentyfaiv/svelte-form';
const form = faivform<Data>({
// ...config
});
const { loading } = $form;
console.log($loading);
</script>