-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
SaravanaPriya31
authored and
SaravanaPriya31
committed
Apr 1, 2024
1 parent
a972102
commit 75b6b50
Showing
6 changed files
with
77 additions
and
83 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ | ||
"name": "annotation", | ||
"name": "quickstart", | ||
"version": "0.1.0", | ||
"private": true, | ||
"scripts": { | ||
|
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,43 +1,42 @@ | ||
<template> | ||
<ejs-pdfviewer | ||
id="pdfViewer" | ||
:resourceUrl="resourceUrl" | ||
:documentPath="documentPath"> | ||
</ejs-pdfviewer> | ||
<div id="app"> | ||
<ejs-pdfviewer | ||
id="pdfViewer" | ||
ref="pdfviewer" | ||
:documentPath="documentPath" | ||
:resourceUrl="resourceUrl"> | ||
</ejs-pdfviewer> | ||
</div> | ||
</template> | ||
|
||
<script> | ||
import { PdfViewerComponent, Toolbar, Magnification, Navigation, LinkAnnotation, BookmarkView, | ||
ThumbnailView, Print, TextSelection, TextSearch, Annotation, FormDesigner, FormFields, PageOrganizer } from '@syncfusion/ej2-vue-pdfviewer'; | ||
import Vue from 'vue'; | ||
import { PdfViewerPlugin, Toolbar, Magnification, Navigation, | ||
LinkAnnotation, BookmarkView, Annotation, ThumbnailView, | ||
Print, TextSelection, TextSearch, FormFields, FormDesigner,PageOrganizer } from '@syncfusion/ej2-vue-pdfviewer'; | ||
Vue.use(PdfViewerPlugin); | ||
export default { | ||
name: 'App', | ||
components: { | ||
"ejs-pdfviewer": PdfViewerComponent | ||
}, | ||
data() { | ||
return { | ||
resourceUrl: 'https://cdn.syncfusion.com/ej2/23.1.43/dist/ej2-pdfviewer-lib', | ||
documentPath: "https://cdn.syncfusion.com/content/pdf/pdf-succinctly.pdf" | ||
}; | ||
}, | ||
provide: { | ||
PdfViewer: [ Toolbar, Magnification, Navigation, LinkAnnotation, BookmarkView, ThumbnailView, | ||
Print, TextSelection, TextSearch, Annotation, FormDesigner, FormFields, PageOrganizer ] | ||
} | ||
} | ||
export default { | ||
name: 'app', | ||
data () { | ||
return { | ||
resourceUrl:"https://cdn.syncfusion.com/ej2/24.1.41/dist/ej2-pdfviewer-lib", | ||
documentPath:"https://cdn.syncfusion.com/content/pdf/pdf-succinctly.pdf" | ||
}; | ||
}, | ||
provide: { | ||
PdfViewer: [ Toolbar, Magnification, Navigation, LinkAnnotation, BookmarkView, Annotation, | ||
ThumbnailView, Print, TextSelection, TextSearch, FormFields, FormDesigner, PageOrganizer ]}, | ||
} | ||
</script> | ||
|
||
<style> | ||
@import '../node_modules/@syncfusion/ej2-base/styles/material.css'; | ||
@import '../node_modules/@syncfusion/ej2-buttons/styles/material.css'; | ||
@import '../node_modules/@syncfusion/ej2-dropdowns/styles/material.css'; | ||
@import '../node_modules/@syncfusion/ej2-inputs/styles/material.css'; | ||
@import '../node_modules/@syncfusion/ej2-navigations/styles/material.css'; | ||
@import '../node_modules/@syncfusion/ej2-popups/styles/material.css'; | ||
@import '../node_modules/@syncfusion/ej2-splitbuttons/styles/material.css'; | ||
@import '../node_modules/@syncfusion/ej2-lists/styles/material.css'; | ||
@import '../node_modules/@syncfusion/ej2-vue-pdfviewer/styles/material.css'; | ||
@import "../node_modules/@syncfusion/ej2-base/styles/material.css"; | ||
@import "../node_modules/@syncfusion/ej2-buttons/styles/material.css"; | ||
@import "../node_modules/@syncfusion/ej2-dropdowns/styles/material.css"; | ||
@import "../node_modules/@syncfusion/ej2-inputs/styles/material.css"; | ||
@import "../node_modules/@syncfusion/ej2-navigations/styles/material.css"; | ||
@import "../node_modules/@syncfusion/ej2-popups/styles/material.css"; | ||
@import "../node_modules/@syncfusion/ej2-splitbuttons/styles/material.css"; | ||
@import "../node_modules/@syncfusion/ej2-vue-pdfviewer/styles/material.css"; | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,43 +1,42 @@ | ||
<template> | ||
<ejs-pdfviewer | ||
id="pdfViewer" | ||
:serviceUrl="serviceUrl" | ||
:documentPath="documentPath"> | ||
</ejs-pdfviewer> | ||
<div id="app"> | ||
<ejs-pdfviewer | ||
id="pdfViewer" | ||
ref="pdfviewer" | ||
:documentPath="documentPath" | ||
:serviceUrl="serviceUrl"> | ||
</ejs-pdfviewer> | ||
</div> | ||
</template> | ||
|
||
<script> | ||
import { PdfViewerComponent, Toolbar, Magnification, Navigation, LinkAnnotation, BookmarkView, | ||
ThumbnailView, Print, TextSelection, TextSearch, Annotation, FormDesigner, FormFields, PageOrganizer } from '@syncfusion/ej2-vue-pdfviewer'; | ||
import Vue from 'vue'; | ||
import { PdfViewerPlugin, Toolbar, Magnification, Navigation, | ||
LinkAnnotation, BookmarkView, Annotation, ThumbnailView, | ||
Print, TextSelection, TextSearch, FormFields, FormDesigner,PageOrganizer } from '@syncfusion/ej2-vue-pdfviewer'; | ||
Vue.use(PdfViewerPlugin); | ||
export default { | ||
name: 'App', | ||
components: { | ||
"ejs-pdfviewer": PdfViewerComponent | ||
}, | ||
data() { | ||
return { | ||
serviceUrl: "https://services.syncfusion.com/vue/production/api/pdfviewer", | ||
documentPath: "https://cdn.syncfusion.com/content/pdf/pdf-succinctly.pdf" | ||
}; | ||
}, | ||
provide: { | ||
PdfViewer: [ Toolbar, Magnification, Navigation, LinkAnnotation, BookmarkView, ThumbnailView, | ||
Print, TextSelection, TextSearch, Annotation, FormDesigner, FormFields, PageOrganizer ] | ||
} | ||
} | ||
export default { | ||
name: 'app', | ||
data () { | ||
return { | ||
serviceUrl:"https://services.syncfusion.com/vue/production/api/pdfviewer", | ||
documentPath:"https://cdn.syncfusion.com/content/pdf/pdf-succinctly.pdf" | ||
}; | ||
}, | ||
provide: { | ||
PdfViewer: [ Toolbar, Magnification, Navigation, LinkAnnotation, BookmarkView, Annotation, | ||
ThumbnailView, Print, TextSelection, TextSearch, FormFields, FormDesigner, PageOrganizer ]}, | ||
} | ||
</script> | ||
|
||
<style> | ||
@import '../node_modules/@syncfusion/ej2-base/styles/material.css'; | ||
@import '../node_modules/@syncfusion/ej2-buttons/styles/material.css'; | ||
@import '../node_modules/@syncfusion/ej2-dropdowns/styles/material.css'; | ||
@import '../node_modules/@syncfusion/ej2-inputs/styles/material.css'; | ||
@import '../node_modules/@syncfusion/ej2-navigations/styles/material.css'; | ||
@import '../node_modules/@syncfusion/ej2-popups/styles/material.css'; | ||
@import '../node_modules/@syncfusion/ej2-splitbuttons/styles/material.css'; | ||
@import '../node_modules/@syncfusion/ej2-lists/styles/material.css'; | ||
@import '../node_modules/@syncfusion/ej2-vue-pdfviewer/styles/material.css'; | ||
@import "../node_modules/@syncfusion/ej2-base/styles/material.css"; | ||
@import "../node_modules/@syncfusion/ej2-buttons/styles/material.css"; | ||
@import "../node_modules/@syncfusion/ej2-dropdowns/styles/material.css"; | ||
@import "../node_modules/@syncfusion/ej2-inputs/styles/material.css"; | ||
@import "../node_modules/@syncfusion/ej2-navigations/styles/material.css"; | ||
@import "../node_modules/@syncfusion/ej2-popups/styles/material.css"; | ||
@import "../node_modules/@syncfusion/ej2-splitbuttons/styles/material.css"; | ||
@import "../node_modules/@syncfusion/ej2-vue-pdfviewer/styles/material.css"; | ||
</style> |