Input Files
Input file is just a UI component. You’ll need to combine it with your own upload script. You can do this by listening to the kemet-input-files-change event. This event will give you the files that have been added. You’ll need to dynamically insert a kemet-input-file element for each of these files in the event. Here’s an example script that demonstrates how to do this.
View on:
An interface for inputing files.
Import
import '@kemet-ui/input-files';<script type="module" src="https://unpkg.com/kemet-ui@latest/dist/elements/input-files.js"></script>import { KemetInput-files } from 'kemet-ui/react';Attributes
Section titled “Attributes”Events
Section titled “Events”Methods
Section titled “Methods”CSS Properties
Section titled “CSS Properties”CSS Parts
Section titled “CSS Parts”The gods are nature. Nature is completely free.
Version 5.0.0

