Comments (1)
Update the library to the latest version and try this:
<pinch-zoom #myPinchZoom="pinchZoom">
<img src="..." />
</pinch-zoom>
@ViewChild('myPinchZoom', {static: false}) myPinchZoom;
zoomInDoc() {
this.myPinchZoom.toggleZoom();
}
from ngx-pinch-zoom.
Related Issues (20)
- dynamically changing image size and/or window resizing does not adjust zoom level restriction on ivy-pinch-pro-1.4.0 HOT 1
- ngOnDestroy() needs the disabled property check HOT 1
- Trying to purchase pro but the Gumroad link is not working HOT 1
- Angular 14 compatibility HOT 7
- Alternatives to ngx-pinch-zoom? HOT 4
- Angular 15 ? HOT 1
- Iam using angular 16, Then Not install my project,Why HOT 3
- Fullscreen image HOT 1
- Possible disable the drag?
- Zooming in big screens (iPad Pro Retina or similars) HOT 1
- Listener property usage HOT 2
- Event zoom-in and zoom out not working HOT 3
- Angular 11 compatibility HOT 5
- Draggable feature with natural (parent div direction)or image direction HOT 1
- when zooming in to pdf the picture quality is poor
- Angular 12 HOT 14
- Pinching doesn't work with svgs HOT 1
- `npm run build` fails
- the professional version about setZoom method HOT 1
- [limitZoom]="number" not working ivy-pinch-pro-1.4.0
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ngx-pinch-zoom.