chore: complete first pass of apply jsdoc annotations to component props

This commit is contained in:
Eric Liu 2020-07-26 17:42:12 -07:00
commit f30755b237
97 changed files with 2327 additions and 259 deletions

View file

@ -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";