Skip to content

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

EventPayloadDescription
submitFileEmits when the user selects or drops a file.

Slots

SlotDescription
defaultLabel text shown above the drop zone.