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,14 @@
|
|||
<script>
|
||||
/**
|
||||
* Specify the current step index
|
||||
* @type {number} [currentIndex=0]
|
||||
*/
|
||||
/** Specify the current step index */
|
||||
export let currentIndex = 0;
|
||||
|
||||
/**
|
||||
* Set to `true` to use the vertical variant
|
||||
* @type {boolean} [vertical=false]
|
||||
*/
|
||||
/** Set to `true` to use the vertical variant */
|
||||
export let vertical = false;
|
||||
|
||||
/**
|
||||
* Set to `true` to specify whether the progress steps should be split equally in size in the div
|
||||
* @type {boolean} [spaceEqually=false]
|
||||
*/
|
||||
/** Set to `true` to specify whether the progress steps should be split equally in size in the div */
|
||||
export let spaceEqually = false;
|
||||
|
||||
/**
|
||||
* Set to `true` to prevent updating `currentIndex`
|
||||
* @type {boolean} [preventChangeOnClick=false]
|
||||
*/
|
||||
/** Set to `true` to prevent updating `currentIndex` */
|
||||
export let preventChangeOnClick = false;
|
||||
|
||||
import { createEventDispatcher, setContext } from "svelte";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue