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
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
نام
نوع
filter-file-dropped
Allows to filter files when dropped.
نمایش مثالمخفی کردن مثال
vue
id
The form input identifier.
نمایش مثالمخفی کردن مثال
vue
multiple
Allows multiple files to be selected.
نمایش مثالمخفی کردن مثال
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