FileSelectComponent
Represents the Kendo UI FileSelect component for Angular.
Definition
Package:@progress/kendo-angular-upload
Selector:kendo-fileselect
Export Name:Accessible in templates as #kendoFileSelectInstance="kendoFileSelect"
Syntax:
<kendo-fileselect> </kendo-fileselect>
Inputs
accept
string
Sets the accept attribute of the internal input element of the component.
disabled
boolean
Disables the component.
false
multiple
boolean
Allows you to select multiple files.
When you set this to false, you can select only one file at a time.
true
name
string
Specifies the name attribute of the input element of the FileSelect.
Sets the restrictions for selected files.
showFileList
boolean
Controls the visibility of the file list.
true
zoneId
string
Sets the id of the external drop zone that you want to associate with the component.
Events
blur
EventEmitter<any>
Fires when you navigate outside the component.
focus
EventEmitter<any>
Fires when you focus the component.
Fires when you are about to remove a file. If you prevent this event, the file will remain in the list.
Fires when you select files. If you prevent this event, the component will not add the selected files to the list.
valueChange
EventEmitter<File[]>
Fires when the component value changes after a successful select or remove operation.
Methods
Blurs the component if you previously focused it.
Clears all files from the UI.
Focuses the component's Select files button.
Removes a specific file from the file list.
The uid of the file to be removed.