mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-21 20:59:20 +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,44 +1,26 @@
|
|||
<script>
|
||||
/**
|
||||
* Set to `true` to check the tile
|
||||
* @type {boolean} [checked=false]
|
||||
*/
|
||||
/** Set to `true` to check the tile */
|
||||
export let checked = false;
|
||||
|
||||
/**
|
||||
* Set to `true` to enable the light variant
|
||||
* @type {boolean} [light=false]
|
||||
*/
|
||||
/** Set to `true` to enable the light variant */
|
||||
export let light = false;
|
||||
|
||||
/**
|
||||
* Specify the value of the radio input
|
||||
* @type {string} [value=""]
|
||||
*/
|
||||
/** Specify the value of the radio input */
|
||||
export let value = "";
|
||||
|
||||
/**
|
||||
* Specify the tabindex
|
||||
* @type {string} [tabindex="0"]
|
||||
*/
|
||||
/** Specify the tabindex */
|
||||
export let tabindex = "0";
|
||||
|
||||
/**
|
||||
* Specify the ARIA label for the radio tile checkmark icon
|
||||
* @type {string} [iconDescription="Tile checkmark"]
|
||||
*/
|
||||
/** Specify the ARIA label for the radio tile checkmark icon */
|
||||
export let iconDescription = "Tile checkmark";
|
||||
|
||||
/**
|
||||
* 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 = "";
|
||||
|
||||
import { getContext } from "svelte";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue