Skip to content

Commit ca68c64

Browse files
committed
readme update - migration help
1 parent d518f29 commit ca68c64

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

lib/README.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -636,11 +636,17 @@ The following features are deprecated and will be removed in future versions:
636636
### Migration Help
637637

638638
```typescript
639-
// Deprecated
639+
// Deprecated - Error Handling
640640
this.pdfViewer.setErrorHtml("<div>Error</div>");
641641

642-
// New way
642+
// New way - Error Handling
643643
// Use [customErrorTpl] with ng-template
644+
645+
// Deprecated - Spinner Handling
646+
this.pdfViewer.setSpinnerHtml("<div>Loading...</div>");
647+
648+
// New way - Spinner Handling
649+
// Use [customSpinnerTpl] with ng-template
644650
```
645651

646652
---

0 commit comments

Comments
 (0)