mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 10:21:05 +00:00
refactor: update/fix JSDoc props
This commit is contained in:
parent
3c04f122b0
commit
d38e6d8be6
204 changed files with 992 additions and 2359 deletions
|
@ -1,26 +1,23 @@
|
|||
<script>
|
||||
/**
|
||||
* Set the loading status
|
||||
* @type {"active" | "inactive" | "finished" | "error"} [status="active"]
|
||||
* @type {"active" | "inactive" | "finished" | "error"}
|
||||
*/
|
||||
export let status = "active";
|
||||
|
||||
/**
|
||||
* Set the loading description
|
||||
* @type {string} [description]
|
||||
* @type {string}
|
||||
*/
|
||||
export let description = undefined;
|
||||
|
||||
/**
|
||||
* Specify the ARIA label for the loading icon
|
||||
* @type {string} [iconDescription="Expand/Collapse"]
|
||||
* @type {string}
|
||||
*/
|
||||
export let iconDescription = undefined;
|
||||
|
||||
/**
|
||||
* Specify the timeout delay (ms) after `status` is set to "success"
|
||||
* @type {number} [successDelay=1500]
|
||||
*/
|
||||
/** Specify the timeout delay (ms) after `status` is set to "success" */
|
||||
export let successDelay = 1500;
|
||||
|
||||
import { createEventDispatcher, afterUpdate, onMount } from "svelte";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue