feat(data-table): add toolbar, toolbar search

This commit is contained in:
Eric Liu 2020-10-24 11:10:31 -07:00
commit 611d72bcf3
10 changed files with 640 additions and 154 deletions

View file

@ -32,7 +32,7 @@
/**
* Specify the value of the search input
* @type {string} [value="text"]
* @type {string} [value=""]
*/
export let value = "";
@ -124,11 +124,14 @@
placeholder="{placeholder}"
type="{type}"
value="{value}"
aria-hidden="{$$props['aria-hidden']}"
on:change
on:input
on:input="{({ target }) => {
value = target.value;
}}"
on:focus
on:blur
/>
<button
type="button"