GhostFileUploadItem reference
Package: @ghostvue/vue. Status: experimental (stability policy).
One list entry (li) for a File. Provides the file to GhostFileUploadItemRemove and registers for the focus-after-removal rule. Item content is consumer-owned.
Generated from the component manifest. Edit the manifest or Vue source, then rebuild the docs.
Props
| Name | Type | Default | Required | Description |
|---|---|---|---|---|
file | File | — | Yes | The entry this item represents; provides context to its remove button. |
Emits
None declared.
Models
None declared.
Slots
| Name | Description |
|---|---|
default | Consumer content for the file, such as its name, and a GhostFileUploadItemRemove. |
Slot props: default
None declared.
Exposed members
| Name | Type | Description |
|---|---|---|
element | HTMLElement | null | Exposed property `element`. |
Parts and data attributes
| Attribute | Value | Description |
|---|---|---|
data-part | item | List entry rendered by GhostFileUploadItem. |
CSS variables
None declared.
Accessibility
Role: listitem. 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.