Represents a file being uploaded.

  • The title of the file being uploaded.

subtitle - Any extra information about the upload.

leading - The thumbnail of the file being uploaded.

ZetaCloseEvent:close - Fired when the close icon is clicked. ZetaCancelUploadEvent:cancel-upload - Fired when the cancel button inside the progress circle is clicked.

Hierarchy

  • ContourableInterface<this> & LitElement<this>
    • ZetaUploadItem

Other

  • Returns ZetaUploadItem

flavor: "error" | "default" | "completed" = "default"

The flavor of the upload item.

progress: number = 0

The progress shown on the progress circle on the upload item.

rounded: boolean
styles: CSSResultGroup[] = ...

rendering

  • Invoked on each update to perform rendering tasks. This method may return any value renderable by lit-html's ChildPart - typically a TemplateResult. Setting properties inside this method will not trigger the element to update.

    Returns TemplateResult<1>