Skip to content

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.

All component references

Props ​

NameTypeDefaultRequiredDescription
fileFile—YesThe entry this item represents; provides context to its remove button.

Emits ​

None declared.

Models ​

None declared.

Slots ​

NameDescription
defaultConsumer content for the file, such as its name, and a GhostFileUploadItemRemove.

Slot props: default ​

None declared.

Exposed members ​

NameTypeDescription
elementHTMLElement | nullExposed property `element`.

Parts and data attributes ​

AttributeValueDescription
data-partitemList 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.

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.