File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
How to/Enable Local Storage/src/app Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ import {
20
20
<div class="content-wrapper">
21
21
<ejs-pdfviewer
22
22
id="pdfViewer"
23
- [serviceUrl ]="service "
23
+ [resourceUrl ]="resourceUrl "
24
24
[documentPath]="document"
25
25
[enableLocalStorage]="true"
26
26
style="height: 640px; display: block;">
@@ -43,8 +43,8 @@ import {
43
43
]
44
44
} )
45
45
export class AppComponent implements OnInit {
46
- public document : string = 'PDF_Succinctly .pdf' ;
47
- public service : string = 'https://ej2services .syncfusion.com/production/web-services/api/ pdfviewer' ;
46
+ public document : string = 'https://cdn.syncfusion.com/content/pdf/pdf-succinctly .pdf' ;
47
+ public resourceUrl : string = 'https://cdn .syncfusion.com/ej2/28.1.33/dist/ej2- pdfviewer-lib ' ;
48
48
49
49
ngOnInit ( ) : void { }
50
50
You can’t perform that action at this time.
0 commit comments