Socket
Book a DemoInstallSign in
Socket

angular-image-viewer

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

angular-image-viewer

This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 1.6.3.

0.0.8
latest
npmnpm
Version published
Weekly downloads
20
-33.33%
Maintainers
1
Weekly downloads
 
Created
Source

AngularImageViewer

This project was generated with Angular CLI version 1.6.3.

Usage:

npm install angular-image-viewer --save

After install try to import { ImageViewerModule } from 'angular-image-viewer';

then you can use this as:
<app-image-viewer [images]="images" [expanderBgColor]="bgColor" [expanderTextColor]="textColor">
    <ng-template let-image>
        <div class="image">// customize this block can be updated according to your requirements.
            <h2>{{ image.thumbnailUrl }}</h2>
            <p>{{ image.previewUrl }}</p>
        </div>
    </ng-template>
</app-image-viewer>

Attribuites:

###images : takes an array of image objects each object might include image meta data or information.
###expanderBgColor: this will change the background color for expander of the image. by default #505558;
###expanderTextColor: this will change text color inside expander. by default '#fff';

you can access demo here https://rakeshuvsn.github.io/angular-image-viewer/

FAQs

Package last updated on 09 Mar 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.