Toggle(Beta)
Basic Toggle Switch For Forms.
Usage
page.svelte
<script lang="ts">import { Toggle } from "@grampro/svelte-block";
</script>
<Toggle /> Sample
Props
Props
| Property | Type | Description |
|---|---|---|
| checked | boolean | Specifies whether the checkbox is checked or unchecked. |
| toggleClass | string | The CSS class applied to the toggle element. |
| disabled | boolean | The disabled State. |