VFileUploadItem API
name | type | default |
|---|---|---|
boolean
| undefined | |
Controls the active state of the item. This is typically used to highlight the component. | ||
string
| undefined | |
The class applied to the component when it matches the current route. Find more information about the active-class prop on the vue-router documentation. | ||
string
| undefined | |
Deprecated, use | ||
string
| undefined | |
Appends a v-avatar component after default content in the append slot. | ||
| string | (new () => any) | FunctionalComponent | (string | [string, number])[] | undefined | |
Creates a v-icon component after default content in the append slot. | ||
string
| undefined | |
Sets the color of component when not focused. | ||
string | number | boolean | true | |
Applies utility border classes to the component. To use it, you need to omit the | ||
boolean
| false | |
Allows for the component to be cleared. | ||
string
| undefined | |
Applies specified color to the control when in an active state or input-value is true - supports utility colors (for example | ||
'default' | 'comfortable' | 'compact' | 'default' | |
Adjusts the vertical height used by the component. | ||
boolean
| false | |
Removes the ability to click or target the component. | ||
string | number | undefined | |
Designates an elevation applied to the component between 0 and 5. You can find more information on the elevation page. | ||
boolean
| false | |
Exactly match the link. Without this, ‘/’ will match every route. You can find more information about the exact prop on the vue-router documentation. | ||
File | null | |
The file object uploaded | ||
string
| 'mdi-file-document' | |
The icon prepending each uploaded file. This will be a preview image if the file is an image. | ||
string | number | undefined | |
Sets the height for the component. | ||
string
| undefined | |
Designates the component as anchor and applies the href attribute. | ||
number
| undefined | |
The index of the file in the upload list. | ||
false | 'one' | 'two' | 'three' | 'two' | |
The line declaration specifies the minimum height of the item and can also be controlled from v-list with the same prop. | ||
boolean
| undefined | |
Designates that the component is a link. This is automatic when using the href or to prop. | ||
string | number | undefined | |
Sets the maximum height for the component. | ||
string | number | undefined | |
Sets the maximum width for the component. | ||
string | number | undefined | |
Sets the minimum height for the component. | ||
string | number | undefined | |
Sets the minimum width for the component. | ||
boolean
| false | |
Reduces the width v-list-item takes up as well as adding a border radius. | ||
string
| undefined | |
Prepends a v-avatar component in the prepend slot before default content. | ||
string | number | undefined | |
Sets the horizontal spacing between prepend slot and the main content. Also affects indent to ensure expected alignment of group children. | ||
| string | (new () => any) | FunctionalComponent | (string | [string, number])[] | undefined | |
Creates a v-icon component in the prepend slot before default content. | ||
boolean
| false | |
Setting replace prop will call | ||
boolean | { class: string; keys: string[] } | true | |
Applies the v-ripple directive. | ||
string | number | boolean | true | |
Designates the border-radius applied to the component. This can be 0, xs, sm, true, lg, xl, pill, circle, and shaped. Find more information on available border radius classes on the Border Radius page. | ||
boolean
| false | |
Show the size of the file | ||
boolean
| false | |
Reduces horizontal spacing for badges, icons, tooltips, and avatars to create a more compact visual representation. | ||
string | number | boolean | undefined | |
Specify a subtitle text for the component. | ||
string | number | undefined | |
Controls the tabindex of the list item. When set, overrides the default tabindex behavior. Automatically set to -1 by VList when using | ||
string | (new () => any) | FunctionalComponent | 'div' | |
Specify a custom tag used on the root element. | ||
string
| undefined | |
Specify a theme for this component and all of its children. | ||
boolean
| false | |
Removes any applied border-radius from the component. | ||
string | number | boolean | undefined | |
Generates a | ||
string | RouteLocationAsRelativeGeneric | RouteLocationAsPathGeneric | undefined | |
Denotes the target route of the link. You can find more information about the to prop on the vue-router documentation. | ||
any
| undefined | |
The value used for selection. Obtained from | ||
'flat' | 'text' | 'elevated' | 'tonal' | 'outlined' | 'plain' | 'text' | |
Applies a distinct style to the component. | ||
string | number | undefined | |
Sets the width for the component. | ||
name | type | |
|---|---|---|
[MouseEvent | KeyboardEvent] | ||
Event that is emitted when the component is clicked. | ||
[] | ||
Emitted when the remove icon is clicked | ||
Adds an item inside the input and after input content. | ||
Slot for the icon button to clear/remove a file | ||
The default Vue slot. | ||
Adds an item outside the input and before input content. | ||
Slot for the component’s subtitle content. | ||
Slot for the component’s title content. | ||