InputFiles KIT

Examples API Setup
Source code

TuiInputFiles

Name and descriptionType Value
disabled
Disabled state (use formControl.disable() )
boolean
[accept]
Allowed formats
string
''
[maxFileSize]
Max file size in bytes (30 MB by default — 30 * 1000 * 1000)
number
30000000
[multiple]
Allows to upload several files
boolean
(reject)
Emits file that was rejected.
TuiFileLike Emit!

TuiFiles

Name and descriptionType Value
[max]
Maximum number of displayed files
number
[(expanded)]
Expanded/collapsed state for multiple files that are limited by the max property
boolean

TuiFile

Name and descriptionType Value
[showDelete]
Allow to delete file after attach it
'always'  |  boolean
true
[file]
File
TuiFileLike
[state]
State of the file
TuiFileState
[showSize]
Show file size
boolean
[size]
Component size
TuiSizeL
'm'
(remove)
Emits on click on close button. When subscribed to, close button appears.
void Emit!