ngx-viewer icon indicating copy to clipboard operation
ngx-viewer copied to clipboard

How can i open image on Button Click not on Image click ?

Open hardikhari96 opened this issue 3 years ago • 1 comments

I am Displaying a List of documents in table form and an assigned a view button on the list, when the client click on the view button it will open the image viewer.

hardikhari96 avatar Dec 30 '21 05:12 hardikhari96

currently I am using CSS opacity and relative positon property , <button class="btn btn-success">view</button> <img [src]="doc.DOC_URL" ngxViewer class="orderImage">

.orderImage { width: 74px; height: 36px; position: relative; right: 68px; opacity: 0; cursor: pointer;}

hardikhari96 avatar Dec 30 '21 05:12 hardikhari96