mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-20 20:33:02 +00:00
test(file-uploader): assert clearFiles
accessor
This commit is contained in:
parent
ee0fc1c6d2
commit
c35dbe059f
1 changed files with 5 additions and 0 deletions
|
@ -6,6 +6,10 @@
|
|||
FileUploaderItem,
|
||||
FileUploaderSkeleton,
|
||||
} from "../types";
|
||||
|
||||
let fileUploader: FileUploader;
|
||||
|
||||
$: fileUploader?.clearFiles();
|
||||
</script>
|
||||
|
||||
<FileUploaderButton
|
||||
|
@ -16,6 +20,7 @@
|
|||
/>
|
||||
|
||||
<FileUploader
|
||||
bind:this="{fileUploader}"
|
||||
multiple
|
||||
labelTitle="Upload files"
|
||||
buttonLabel="Add files"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue