This repository was archived by the owner on Feb 19, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 2929 "@types/react-dom" : " ~18.0.5"
3030 },
3131 "dependencies" : {
32- "@pdftron/webviewer" : " ^8.8 .0-20220913 " ,
32+ "@pdftron/webviewer" : " ^8.10 .0-20221125 " ,
3333 "classnames" : " ^2.2.6"
3434 }
3535}
Original file line number Diff line number Diff line change 7575 <propertyGroup caption =" UI" >
7676 <property key =" isVisible" type =" attribute" required =" false" >
7777 <caption >Is visible</caption >
78- <description >A flag to toggle the visibility of WebViewer. Please use this option to hide WebViewer over the one in Common .</description >
78+ <description >A flag to toggle the visibility of WebViewer without unmounting it .</description >
7979 <attributeTypes >
8080 <attributeType name =" Boolean" />
8181 </attributeTypes >
Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ const PDFViewer: React.FC<InputProps> = props => {
6161 licenseKey : props . l
6262 } ,
6363 viewerRef . current as HTMLDivElement
64- ) . then ( instance => {
64+ ) . then ( ( instance : WebViewerInstance ) => {
6565 const { Core, UI } = instance ;
6666
6767 setInstance ( instance ) ;
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ export interface WebViewerContainerProps {
4444 enableMeasurement : boolean ;
4545 enableRedaction : boolean ;
4646 selectAnnotationOnCreation : boolean ;
47- isVisible : EditableValue < boolean > ;
47+ isVisible ? : EditableValue < boolean > ;
4848 containerHeight : string ;
4949 enableDarkMode : boolean ;
5050 defaultLanguage : DefaultLanguageEnum ;
You can’t perform that action at this time.
0 commit comments