diff --git a/lib/core/src/lib/viewer/components/viewer.component.html b/lib/core/src/lib/viewer/components/viewer.component.html index 343485d8ca6..8bfd1f625c1 100644 --- a/lib/core/src/lib/viewer/components/viewer.component.html +++ b/lib/core/src/lib/viewer/components/viewer.component.html @@ -155,6 +155,7 @@ [fileName]="fileName" [blobFile]="blobFile" [readOnly]="readOnly" + [isLoading]="isLoading" (submitFile)="onSubmitFile($event)" [urlFile]="urlFile" (isSaving)="allowNavigate = !$event" diff --git a/lib/core/src/lib/viewer/components/viewer.component.ts b/lib/core/src/lib/viewer/components/viewer.component.ts index b4ce06dfe23..1778ae8eec1 100644 --- a/lib/core/src/lib/viewer/components/viewer.component.ts +++ b/lib/core/src/lib/viewer/components/viewer.component.ts @@ -102,6 +102,10 @@ export class ViewerComponent implements OnDestroy, OnInit, OnChanges { @Input() showToolbar = true; + /** Override loading status */ + @Input() + isLoading?: boolean + /** * If `true` then show the Viewer as a full page over the current content. * Otherwise fit inside the parent div.