Skip to content

GhostFileUploadDropzone reference ​

Package: @ghostvue/vue. Status: experimental (stability policy).

Drop target for file drags (div, no role, not a tab stop). A click on a non-interactive area opens the picker as a pointer convenience; the trigger stays the keyboard control. Cancels file drags even when disabled so a drop never navigates the page, and installs the shared document drop guard while mounted and enabled.

Generated from the component manifest. Edit the manifest or Vue source, then rebuild the docs.

All component references

Props ​

None declared.

Emits ​

None declared.

Models ​

None declared.

Slots ​

NameDescription
defaultDrop target content; receives dragging while a file drag is over the zone.

Slot props: default ​

NameTypeDescription
draggingbooleanA file drag is over the dropzone.

Exposed members ​

NameTypeDescription
elementHTMLElement | nullExposed property `element`.

Parts and data attributes ​

AttributeValueDescription
data-partdropzoneDrop target rendered by GhostFileUploadDropzone.
data-statedraggingA file drag is over the zone. Wins over invalid and disabled.
data-stateinvalidRoot is invalid.
data-statedisabledRoot is disabled; drags and clicks are ignored.

CSS variables ​

None declared.

Accessibility ​

Role: generic. APG pattern: https://www.w3.org/WAI/ARIA/apg/patterns/button/.

Required ARIA attributes: none.

Keyboard ​

None declared.

Verification ​

Each category is reviewed separately. Automated keyboard and axe results do not attest manual or assistive-technology review.

CategoryStatusEvidence
Automated keyboardNot reviewedNo declared key is mapped to a browser test yet.
Manual interactionNot reviewedNo review recorded.
Assistive technologyNot reviewedNo review recorded.

Examples ​

None declared.