Avatar upload

Use the Headless file input component to create your own avatar upload component. It works the same as a regular file input, but you can style it however you want. Below is an example of an avatar upload component.

پیش‌نمایش بارگذاری
نمایش کد
vue

File upload

Use the Headless file input component to create your own file upload component. It works the same as a regular file input, but you can style it however you want. Below is an example of a file upload component.

فایل‌ها را برای بارگذاری رها کنید

یا
نمایش کد
vue
v-model
نمایش مثال
vue
filter-file-dropped
Allows to filter files when dropped.
نمایش مثال
vue
id
The form input identifier.
نمایش مثال
vue
multiple
Allows multiple files to be selected.
نمایش مثال
vue
#default
نمایش مثال
vue
el
The underlying HTMLInputElement element.
نمایش مثال
vue
files
The model value of the file input.
نمایش مثال
vue
open
Opens the native file input selector.
نمایش مثال
vue
remove
Removes a file from the input.
نمایش مثال
vue
preview
Returns the preview DataURL of a file.
نمایش مثال
vue
drop
Handles the drop event.
نمایش مثال
vue