@syncfusion/ej2-pdfviewer
Advanced tools
Comparing version 16.4.44 to 16.4.46
@@ -9,4 +9,12 @@ # Changelog | ||
- The scrolling when the toolbar is clicked is prevented. | ||
- Resolved the script error while accessing invalid link annotation destination. | ||
## 16.4.44 (2018-12-24) | ||
### PDF Viewer | ||
#### Bug Fixes | ||
- The scrolling when the toolbar is clicked is prevented | ||
## 16.4.40-beta (2018-12-10) | ||
@@ -13,0 +21,0 @@ |
/*! | ||
* filename: index.d.ts | ||
* version : 16.4.44 | ||
* version : 16.4.46 | ||
* Copyright Syncfusion Inc. 2001 - 2018. All rights reserved. | ||
@@ -5,0 +5,0 @@ * Use of this code is subject to the terms of our license. |
{ | ||
"name": "@syncfusion/ej2-pdfviewer", | ||
"version": "16.4.44", | ||
"version": "16.4.46", | ||
"description": "Essential JS 2 PDF viewer Component", | ||
@@ -12,7 +12,7 @@ "author": "Syncfusion Inc.", | ||
"@syncfusion/ej2-base": "~16.4.42", | ||
"@syncfusion/ej2-data": "~16.4.42", | ||
"@syncfusion/ej2-navigations": "~16.4.44", | ||
"@syncfusion/ej2-inputs": "~16.4.44", | ||
"@syncfusion/ej2-dropdowns": "~16.4.44", | ||
"@syncfusion/ej2-popups": "~16.4.44", | ||
"@syncfusion/ej2-data": "~16.4.45", | ||
"@syncfusion/ej2-navigations": "~16.4.45", | ||
"@syncfusion/ej2-inputs": "~16.4.46", | ||
"@syncfusion/ej2-dropdowns": "~16.4.46", | ||
"@syncfusion/ej2-popups": "~16.4.45", | ||
"@syncfusion/ej2-buttons": "~16.4.42", | ||
@@ -19,0 +19,0 @@ "@syncfusion/ej2-lists": "~16.4.44" |
@@ -77,4 +77,4 @@ import { createElement } from '@syncfusion/ej2-base'; | ||
aTag.setAttribute('href', ''); | ||
if (linkPage[i] !== undefined) { | ||
var destPageHeight = (this_2.pdfViewerBase.pageSize[pageIndex - 1].height); | ||
if (linkPage[i] !== undefined && linkPage[i] > 0) { | ||
var destPageHeight = (this_2.pdfViewerBase.pageSize[pageIndex].height); | ||
var destLocation = void 0; | ||
@@ -91,8 +91,10 @@ var scrollValue = void 0; | ||
} | ||
aTag.name = scrollValue.toString(); | ||
aTag.onclick = function () { | ||
// tslint:disable-next-line:radix | ||
proxy.pdfViewerBase.viewerContainer.scrollTop = parseInt(aTag.name); | ||
return false; | ||
}; | ||
if (scrollValue !== undefined) { | ||
aTag.name = scrollValue.toString(); | ||
aTag.onclick = function () { | ||
// tslint:disable-next-line:radix | ||
proxy.pdfViewerBase.viewerContainer.scrollTop = parseInt(aTag.name); | ||
return false; | ||
}; | ||
} | ||
} | ||
@@ -99,0 +101,0 @@ var pageDiv = document.getElementById(this_2.pdfViewer.element.id + '_pageDiv_' + pageIndex); |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4972101
42352
0