mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-16 10:51:06 +00:00
chore: complete first pass of apply jsdoc annotations to component props
This commit is contained in:
parent
566a281d81
commit
f30755b237
97 changed files with 2327 additions and 259 deletions
|
@ -10,10 +10,35 @@
|
|||
* @type {boolean} [light=false]
|
||||
*/
|
||||
export let light = false;
|
||||
|
||||
/**
|
||||
* Specify the max height of the tile (number of pixels)
|
||||
* @type {number} [tileMaxHeight=0]
|
||||
*/
|
||||
export let tileMaxHeight = 0;
|
||||
|
||||
/**
|
||||
* Specify the padding of the tile (number of pixels)
|
||||
* @type {number} [tilePadding=0]
|
||||
*/
|
||||
export let tilePadding = 0;
|
||||
|
||||
/**
|
||||
* Specify the icon text of the collapsed tile
|
||||
* @type {string} [tileCollapsedIconText="Interact to expand Tile"]
|
||||
*/
|
||||
export let tileCollapsedIconText = "Interact to expand Tile";
|
||||
|
||||
/**
|
||||
* Specify the icon text of the expanded tile
|
||||
* @type {string} [tileExpandedIconText="Interact to collapse Tile"]
|
||||
*/
|
||||
export let tileExpandedIconText = "Interact to collapse Tile";
|
||||
|
||||
/**
|
||||
* Specify the tabindex
|
||||
* @type {string} [tabindex="0"]
|
||||
*/
|
||||
export let tabindex = "0";
|
||||
|
||||
/**
|
||||
|
@ -21,6 +46,11 @@
|
|||
* @type {string} [id]
|
||||
*/
|
||||
export let id = "ccs-" + Math.random().toString(36);
|
||||
|
||||
/**
|
||||
* Obtain a reference to the input HTML element
|
||||
* @type {null | HTMLElement} [ref=null]
|
||||
*/
|
||||
export let ref = null;
|
||||
|
||||
import { afterUpdate } from "svelte";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue