refactor: update/fix JSDoc props

This commit is contained in:
Eric Liu 2020-11-04 06:04:25 -08:00
commit d38e6d8be6
204 changed files with 992 additions and 2359 deletions

View file

@ -1,19 +1,16 @@
<script>
/**
* Specify the ARIA label for the button
* @type {string} [ariaLabel]
* @type {string}
*/
export let ariaLabel = undefined;
/**
* Set to `true` to toggle the open state
* @type {boolean} [isOpen=false]
*/
/** Set to `true` to toggle the open state */
export let isOpen = false;
/**
* Obtain a reference to the HTML button element
* @type {null | HTMLButtonElement} [ref=null]
* @type {null | HTMLButtonElement}
*/
export let ref = null;