ngx-red-zoom
v0.14.0
Published
RedZoom is a modern very easy-to-use image zoom library which made as Angular directive and fully stylable via CSS/SCSS
Downloads
5,603
Maintainers
Readme
RedZoom
RedZoom is a modern very easy-to-use image zoom library which made as Angular directive and fully stylable via CSS/SCSS.
Examples, documentation, changelog are available here.
Getting Started
- To install RedZoom, run the command below:
npm install ngx-red-zoom
- Import module:
import { RedZoomModule } from 'ngx-red-zoom'; @NgModule({ imports: [ RedZoomModule ] }) export class AppModule { }
- Import styles:
@import '~ngx-red-zoom/styles/base.scss'; @import '~ngx-red-zoom/styles/style-window.scss';
- Add directive to your image tag:
<img src="example.jpg" redZoom="example.full.jpg" redZoomClass="red-zoom--style--window" >