Ionic Image Zoomer
Ionic Module that enables pinching, panning and scaling images.
Installation
1. Install the NPM Package
npm install --save ionic-image-zoomer
IonicImageZoomer
module
3. Import Add IonicImageZoomer.forRoot()
in your app's root module
; // import the module
Usage
Basic Usage
This HTML code demonstrates basic usage of this module:
This way the image takes the width or height of its parent container. If we want to set it a specific width or height, we can do it as follows:
Contribution
- Having an issue? or looking for support? Open an issue and we will get you the help you need.
- Got a new feature or a bug fix? Fork the repo, make your changes, and submit a pull request.
Support this project
If you find this project useful, please star the repo to let people know that it's reliable. Also, share it with friends and colleagues that might find this useful as well. Thank you 😄