Neverending Perpetual Motion

    viwerjs-ang

    1.0.0 • Public • Published

    ViwerjsAngular

    This project is simple use of viwerjs library in Angular

    Installation

    Install our package

    npm i viwerjs-ang
    npm i viewerjs
    

    Import module

    import {  ViwerjsAngModule } from "viwerjs-ang";
    
    imports: [
      ...
        ViwerjsAngModule
    ],
    

    Import css

    import css from viwerjs

    @import '~viewerjs/dist/viewer.css';
    

    use

    Add directive viwerjsAngPreview on any image you want to show preview. also you can pass options for custom chagnes more information check viwerjs library

    Example :

    <img
        viwerjsAngPreview`
        [options]="{}"
        width="200"
        src="https://cdn.pixabay.com/photo/2015/04/23/22/00/tree-736885__480.jpg"
      />
    

    Install

    npm i viwerjs-ang

    DownloadsWeekly Downloads

    2

    Version

    1.0.0

    License

    MIT

    Unpacked Size

    6.34 kB

    Total Files

    12

    Last publish

    Collaborators

    • haripatel96