Skip to content

Commit

Permalink
[AEV-4] - Expose isLoading viewer input
Browse files Browse the repository at this point in the history
  • Loading branch information
Miwoli committed Dec 18, 2023
1 parent 269dcf1 commit e9c2e81
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/core/src/lib/viewer/components/viewer.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@
[fileName]="fileName"
[blobFile]="blobFile"
[readOnly]="readOnly"
[isLoading]="isLoading"
(submitFile)="onSubmitFile($event)"
[urlFile]="urlFile"
(isSaving)="allowNavigate = !$event"
Expand Down
4 changes: 4 additions & 0 deletions lib/core/src/lib/viewer/components/viewer.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,10 @@ export class ViewerComponent<T> 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.
Expand Down

0 comments on commit e9c2e81

Please sign in to comment.