mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-16 02:41:05 +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
|
@ -1,5 +1,9 @@
|
|||
<script>
|
||||
export let searchIsActive = undefined;
|
||||
/**
|
||||
* Set to `true` to focus the search
|
||||
* @type {boolean} [searchIsActive=false]
|
||||
*/
|
||||
export let searchIsActive = false;
|
||||
|
||||
import { createEventDispatcher } from "svelte";
|
||||
import Close20 from "carbon-icons-svelte/lib/Close20";
|
||||
|
@ -18,7 +22,7 @@
|
|||
function dispatchInputs(event) {
|
||||
const params = {
|
||||
action: "search",
|
||||
textInput: event.target.value
|
||||
textInput: event.target.value,
|
||||
};
|
||||
dispatch("inputSearch", params);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue