Download Progress

ライブで更新されるキャプションと、任意のキャンセルアクションを備えたプログレスバー。

対応フレームワーク
  • Angular: 対応
  • Vue: 対応
  • React: 対応
  • React Native: 未対応

使い方

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

インポート

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

API リファレンス

SoneDownloadProgressComponentコンポーネント

セレクター
sone-download-progress
入力
名前型 デフォルト
fracnumber | nullnull
label—$localize`Downloading…`
separatorstring" "
ariaLabelstring | nullnull
sizeSoneProgressSize"sm"
cancellablebooleanfalse
cancelLabel—$localize`Cancel download`
出力
名前型
cancelRequestedvoid