File

core/common/progress-bar.component.ts

Deprecated

Use `c8y-loading` instead.

Metadata

Index

Inputs

Inputs

message
Type : string
Default value : gettext('Loading…')
progress
Type : number
Default value : null
<div class="bg-inherit">
  <div
    class="progress progress-striped active"
    *ngIf="progress !== null"
  >
    <div
      class="progress-bar"
      [style.width]="progress + '%'"
      [attr.aria-label]="'Progress' | translate"
      aria-valuemin="0"
      aria-valuemax="100"
      [attr.aria-valuenow]="progress"
      role="progressbar"
    ></div>
  </div>
  <div
    class="spinner-snake"
    *ngIf="progress === null"
  ></div>
  <p
    class="text-center"
    *ngIf="message"
  >
    {{ message | translate }}
  </p>
</div>

results matching ""

    No results matching ""