mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 10:21:05 +00:00
chore: add more type docs
This commit is contained in:
parent
773b18d314
commit
c3f924c25a
45 changed files with 517 additions and 50 deletions
|
@ -4,8 +4,23 @@
|
|||
* @type {"active" | "inactive" | "finished" | "error"} [status="active"]
|
||||
*/
|
||||
export let status = "active";
|
||||
|
||||
/**
|
||||
* Set the loading description
|
||||
* @type {string} [description]
|
||||
*/
|
||||
export let description = undefined;
|
||||
|
||||
/**
|
||||
* Define the ARIA label for the loading icon
|
||||
* @type {string} [iconDescription="Expand/Collapse"]
|
||||
*/
|
||||
export let iconDescription = undefined;
|
||||
|
||||
/**
|
||||
* Specify the timeout delay (ms) after `status` is set to "success"
|
||||
* @type {number} [successDelay=1500]
|
||||
*/
|
||||
export let successDelay = 1500;
|
||||
|
||||
import { createEventDispatcher, afterUpdate, onMount } from "svelte";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue