Add text selection tool in PDF reader
This commit is contained in:
committed by
Aditya Chandel
parent
0d95817ae8
commit
b3fd860783
@@ -7,7 +7,9 @@
|
|||||||
@if (!isLoading) {
|
@if (!isLoading) {
|
||||||
<ngx-extended-pdf-viewer
|
<ngx-extended-pdf-viewer
|
||||||
[src]="bookData"
|
[src]="bookData"
|
||||||
[handTool]="handTool"
|
[textLayer]="true"
|
||||||
|
[showHandToolButton]="true"
|
||||||
|
[handTool]="false"
|
||||||
[height]="'auto'"
|
[height]="'auto'"
|
||||||
[page]="page"
|
[page]="page"
|
||||||
[rotation]="rotation"
|
[rotation]="rotation"
|
||||||
|
|||||||
@@ -19,7 +19,6 @@ export class PdfViewerComponent implements OnInit, OnDestroy {
|
|||||||
isLoading = true;
|
isLoading = true;
|
||||||
totalPages: number = 0;
|
totalPages: number = 0;
|
||||||
|
|
||||||
handTool = true;
|
|
||||||
rotation: 0 | 90 | 180 | 270 = 0;
|
rotation: 0 | 90 | 180 | 270 = 0;
|
||||||
|
|
||||||
page!: number;
|
page!: number;
|
||||||
|
|||||||
Reference in New Issue
Block a user