mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-16 02:41: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,37 +1,25 @@
|
|||
<script>
|
||||
/**
|
||||
* Set to `true` to check the input
|
||||
* @type {boolean} [checked=false]
|
||||
*/
|
||||
/** Set to `true` to check the input */
|
||||
export let checked = false;
|
||||
|
||||
/**
|
||||
* Specify the title of the input
|
||||
* @type {string} [title="title"]
|
||||
*/
|
||||
/** Specify the title of the input */
|
||||
export let title = "title";
|
||||
|
||||
/**
|
||||
* Specify the value of the input
|
||||
* @type {string} [value="value"]
|
||||
*/
|
||||
/** Specify the value of the input */
|
||||
export let value = "value";
|
||||
|
||||
/**
|
||||
* Set an id for the input element
|
||||
* @type {string} [id]
|
||||
* @type {string}
|
||||
*/
|
||||
export let id = "ccs-" + Math.random().toString(36);
|
||||
|
||||
/**
|
||||
* Specify a name attribute for the input
|
||||
* @type {string} [name=""]
|
||||
*/
|
||||
/** Specify a name attribute for the input */
|
||||
export let name = "";
|
||||
|
||||
/**
|
||||
* Obtain a reference to the input HTML element
|
||||
* @type {null | HTMLInputElement} [ref=null]
|
||||
* @type {null | HTMLInputElement}
|
||||
*/
|
||||
export let ref = null;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue