New to Kendo UI for AngularStart a free 30-day trial

Definition

Package:@progress/kendo-angular-upload

Selector:kendo-fileselect

Export Name:Accessible in templates as #kendoFileSelectInstance="kendoFileSelect"

Syntax:

html
<kendo-fileselect> </kendo-fileselect>

Inputs

accept

string

Sets the accept attribute of the internal input element of the component.

disabled

boolean

Disables the component.

Default:

false

multiple

boolean

Allows you to select multiple files. When you set this to false, you can select only one file at a time.

Default:

true

name

string

Specifies the name attribute of the input element of the FileSelect.

Sets the restrictions for selected files.

Controls the visibility of the file list.

Default:

true

tabindex

number

Sets the tabindex of the component.

Default:

0

zoneId

string

Sets the id of the external drop zone that you want to associate with the component.

Events

Fires when you navigate outside the component.

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.

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.

Parameters:uidstring

The uid of the file to be removed.