Skip to content

Commit 6dc2619

Browse files
1234: Updated Requested Changes
1 parent dc0dba4 commit 6dc2619

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

How to/Enable Local Storage/src/app/app.component.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import {
2020
<div class="content-wrapper">
2121
<ejs-pdfviewer
2222
id="pdfViewer"
23-
[serviceUrl]="service"
23+
[resourceUrl]="resourceUrl"
2424
[documentPath]="document"
2525
[enableLocalStorage]="true"
2626
style="height: 640px; display: block;">
@@ -43,8 +43,8 @@ import {
4343
]
4444
})
4545
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';
4848

4949
ngOnInit(): void { }
5050

0 commit comments

Comments
 (0)