[accept] allowed formats | string | |
[maxFileSize] max file size in bytes (30 MB by default — 30 * 1000 * 1000) | number | |
[multiple] allows to upload several files | boolean | |
[tuiInputFiles] drop zone size | TuiSizeL | |
(reject) emits files that were rejected. | TuiFileLike[] | |
| ControlApplied as a host directive | ||
[disabled] disabled state (use formControl.disable()/.enable() for reactive forms) | boolean | |
[invalid] manual invalid state | null | boolean | |
[max] maximum number of displayed files | number | |
[(expanded)] expanded/collapsed state for multiple files that are limited by the max property | boolean |
[showDelete] allow to delete file after attach it | 'always' | boolean | |
[file] | TuiFileLike | |
[state] state of the file | TuiFileState | |
[showSize] show file size | boolean | |
[size] | TuiSizeL | |
(remove) emits on click on close button. When subscribed to, close button appears. | void |