{{code1}}
{{code2}}
Name | Type | Default value | Description |
---|---|---|---|
disabled
|
boolean | null |
If true, the file input is readonly. |
multiple
|
boolean | false |
If true, the file input allows the user to select more than one file. |
accept
|
string | null |
Limiting accepted file types (For example: accept="image/png, image/jpeg" or accept=".png, .jpg, .jpeg" — Accept PNG or JPEG files.) |
color
|
ThemePalette | null |
Theme color palette for the component. |
@see @angular/material Using a pre-built theme
Add the Material Design icon font to your index.html
{{code6}}
{{code3}}
{{code4}}
{{code5}}