ngx-img-zoom-viewer
v0.13.2
Published
The NGX IMG Zoom Viewer is a Angular library that can help to create a magnified preview of any image in any kind of angular app
Downloads
5
Maintainers
Readme
NGX IMG Zoom Viewer
Description
This project lets the user see a zoomed preview of a portion of an image (as we can see the zoomed image preview in the product detail pages of Amazon and Flipkart websites)
Table of Contents
Installation
Step 1 : -
To add ngx-img-zoom-viewer open a terminal in your root directory and run the following command
this will add the depandancy in your package.json file,
Step 2 : -
Add NGXimgZoomViewer in your app.module.ts file
Use
Now we are Free to use NGXimgZoomViewer we can start using it by just adding
In template
In TypeScript class
Config
there we have added some costomization that can help user to control the behavior of ngx-img-zoom-viwer
Config Interface
in order to use config please follow given steps :-
In Template File
In TypeScript File
note : - all the css units are in pixel only
License
Questions
If you have any questions about the project you can reach out to me via email or GitHub with the information below.
Email: [email protected]
GitHub : vaibhavdubay