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

@ -1,6 +1,20 @@
<script>
/**
* Specify the selected tile value
* @type {string} [selected]
*/
export let selected = undefined;
/**
* Set to `true` to disable the tile group
* @type {boolean} [disabled=false]
*/
export let disabled = false;
/**
* Specify the legend text
* @type {string} [legend]
*/
export let legend = "";
import { createEventDispatcher, setContext } from "svelte";
@ -16,9 +30,9 @@
selectedValue.set(value);
}
},
update: value => {
update: (value) => {
selectedValue.set(value);
}
},
});
$: selected = $selectedValue;