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,8 +1,9 @@
<script>
/**
* Set to `true` to focus the search
* @type {boolean} [searchIsActive=false]
* @event {{ action: "search"; textInput: string; }} inputSearch
*/
/** Set to `true` to focus the search */
export let searchIsActive = false;
import { createEventDispatcher } from "svelte";
@ -24,6 +25,7 @@
action: "search",
textInput: event.target.value,
};
dispatch("inputSearch", params);
}