FileUpload
Showcase
This is a helper message
<LnxFileUpload @upload="..." <-- When a file is added to the input @delete="..." <-- When a file needs to be removed > Enter something <template #error> This is an error message </template> <template #helper> This is a helper message </template> </LnxFileUpload>
isUploading
booleanWhen uploading a file, it is disabled and shows a different content Default value: falsecustomValidity
stringThe error message of the input. It is the default value for the `error` slot Default value: undefinedTypes
UploadedFile
ts
export interface UploadedFile {
url: string;
name: string;
}1
2
3
4
2
3
4