New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

ngx-awesome-gallery

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ngx-awesome-gallery

A simple ,Lightweight ,Easy to integrate image gallery in Angular.

  • 0.2.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2
decreased by-66.67%
Maintainers
1
Weekly downloads
 
Created
Source

NgxAwesomeGallery

A simple ,lightweight ,Easy to integrate image gallery in Angular.

#Tested in Angular 7.

Online Demo

http://abdulkhaderp.github.io/awsomeGalleryDemo/index.html

Installation

npm i ngx-awesome-gallery

Usage

  1. Import NgxAwesomeGalleryModule in app.module.ts, Add it in imports array :

    import {NgxAwesomeGalleryModule} from 'ngx-awesome-gallery';
    ..
    imports: [
       .. , NgxAwesomeGalleryModule
    ]
    
  2. Use the library in the component html :

         <div class="your_container_class">
             <lib-NgxAwesomeGallery [source]=imageData [conf]=conf></lib-NgxAwesomeGallery>
         </div>
    
  3. Define width and height with CSS class, "your_container_class". The gallery will take 100% height and width of the DIV wrapper.

  4. Provide required data (source and conf) in component .ts file. Source is madatory, conf is optional.

      imageData = [{
     link:"../assets/images/first.jpg", //Path to image file.
     description:"Sample description 1"  //Optional description text. 
           },..]
    
    
    
    conf = {
       "transitionStyle":"scale", 
       "description" : true,  
       "fullWidth" : false
    

    }

conf properties in detail:

##transitionStyle

  • Define the image transition css effect.
  • Default: 'active'
  • Available Options: scale, swing , tilt

##description

  • Decide show/hide the optional description text.

  • Default: false

  • Expected: true or false

##fullWidth

  • If set true, the image will take 100% width of the wrapper DIV. Else, image will be kept as of it's original width.

  • Default: false

  • Expected: true or false

Keywords

FAQs

Package last updated on 08 Dec 2019

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

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc