Download Progress

Une barre de progression avec une légende mise à jour en direct et une action d’annulation facultative.

Disponible pour
  • Angular: disponible
  • Vue: disponible
  • React: disponible
  • React Native: pas encore disponible

Utilisation

Downloading… 42%
Preparing…
Example-3B · 63%
Downloading… 70%

Importation

ts
import {
  SoneDownloadProgressComponent,
} from "@surface-one/angular/download-progress";

Référence de l’API

SoneDownloadProgressComponentComposant

Sélecteur
sone-download-progress
Inputs
NomType Par défaut
fracnumber | nullnull
label—$localize`Downloading…`
separatorstring" "
ariaLabelstring | nullnull
sizeSoneProgressSize"sm"
cancellablebooleanfalse
cancelLabel—$localize`Cancel download`
Outputs
NomType
cancelRequestedvoid