1+ <!DOCTYPE html> < html lang ="en "> < head >
2+ < title > EJ2 PDF Viewer</ title >
3+ < meta charset ="utf-8 ">
4+ < meta name ="viewport " content ="width=device-width, initial-scale=1.0 ">
5+ < meta name ="description " content ="Typescript PDF Viewer Control ">
6+ < meta name ="author " content ="Syncfusion ">
7+ < link href ="https://cdn.syncfusion.com/ej2/27.2.5/ej2-base/styles/material.css " rel ="stylesheet ">
8+ < link href ="https://cdn.syncfusion.com/ej2/27.2.5/ej2-pdfviewer/styles/material.css " rel ="stylesheet ">
9+ < link href ="https://cdn.syncfusion.com/ej2/27.2.5/ej2-buttons/styles/material.css " rel ="stylesheet ">
10+ < link href ="https://cdn.syncfusion.com/ej2/27.2.5/ej2-popups/styles/material.css " rel ="stylesheet ">
11+ < link href ="https://cdn.syncfusion.com/ej2/27.2.5/ej2-navigations/styles/material.css " rel ="stylesheet ">
12+ < link href ="https://cdn.syncfusion.com/ej2/27.2.5/ej2-dropdowns/styles/material.css " rel ="stylesheet ">
13+ < link href ="https://cdn.syncfusion.com/ej2/27.2.5/ej2-lists/styles/material.css " rel ="stylesheet ">
14+ < link href ="https://cdn.syncfusion.com/ej2/27.2.5/ej2-inputs/styles/material.css " rel ="stylesheet ">
15+ < link href ="https://cdn.syncfusion.com/ej2/27.2.5/ej2-splitbuttons/styles/material.css " rel ="stylesheet ">
16+ < link href ="https://cdn.syncfusion.com/ej2/27.2.5/ej2-notifications/styles/material.css " rel ="stylesheet ">
17+
18+ <!-- Hide PDF viewer Bookmark option -->
19+ < style >
20+ # pdfViewer_bookmark {
21+ display : none !important ;
22+ }
23+ </ style >
24+
25+ <!-- Essential JS 2 PDF Viewer's script -->
26+ < script src ="https://cdn.syncfusion.com/ej2/29.1.33/dist/ej2.min.js " type ="text/javascript "> </ script >
27+ < script src ="https://cdn.syncfusion.com/ej2/syncfusion-helper.js " type ="text/javascript "> </ script >
28+
29+ < script src ="https://cdn.syncfusion.com/ej2/syncfusion-helper.js " type ="text/javascript "> </ script >
30+ </ head >
31+ < body >
32+ < div id ="container ">
33+ < div id ="pdfViewer " style ="height:500px;width:100%; "> </ div >
34+ </ div >
35+
36+
37+ < script >
38+ var ele = document . getElementById ( 'container' ) ;
39+ if ( ele ) {
40+ ele . style . visibility = "visible" ;
41+ }
42+ </ script >
43+ < script src ="index.js " type ="text/javascript "> </ script >
44+ </ body > </ html >
0 commit comments