InputFiles KIT

Examples API Setup
Source code

TuiInputFiles

Name and descriptionTypeValue
[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 files that were rejected. TuiFileLike[]

TuiFiles

Name and descriptionTypeValue
[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 descriptionTypeValue
[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