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.
Props
None declared.
Emits
None declared.
Models
None declared.
Slots
| Name | Description |
|---|---|
default | Drop target content; receives dragging while a file drag is over the zone. |
Slot props: default
| Name | Type | Description |
|---|---|---|
dragging | boolean | A file drag is over the dropzone. |
Exposed members
| Name | Type | Description |
|---|---|---|
element | HTMLElement | null | Exposed property `element`. |
Parts and data attributes
| Attribute | Value | Description |
|---|---|---|
data-part | dropzone | Drop target rendered by GhostFileUploadDropzone. |
data-state | dragging | A file drag is over the zone. Wins over invalid and disabled. |
data-state | invalid | Root is invalid. |
data-state | disabled | Root 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.
| Category | Status | Evidence |
|---|---|---|
| Automated keyboard | Not reviewed | No declared key is mapped to a browser test yet. |
| Manual interaction | Not reviewed | No review recorded. |
| Assistive technology | Not reviewed | No review recorded. |
Examples
None declared.