FileInputOld
FileInputOld
PFileInputOld is a legacy component that supports drag-and-drop uploads. Prefer PFileInput for new work.
Demo
Usage
<PFileInputOld @submit="handleUpload">Upload</PFileInputOld>Events
| Event | Payload | Description |
|---|---|---|
submit | File | Emits when the user selects or drops a file. |
Slots
| Slot | Description |
|---|---|
| default | Label text shown above the drop zone. |