🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

angular-image-text-slider

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

angular-image-text-slider

This package is an angualar responsive image slider

0.0.8
latest
npm
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

Angular Image Text Slider

An Angular responsive image slider with lightbox popup. Also support youtube and mp4 video urls.

Features!

*Responsive (support images width and height in both % and px) *captures swipes from phones and tablets *Compatible with Angular Universal *Image lightbox popup *captures keyboard next/previous arrow key event for lightbox image move *Support Images (jpeg, jpg, gif, png and Base64-String), *Handling runtime image arraylist changes

Installation

npm i angular-image-text-slider

Setup :

Import module in your app.module.ts:

import { AngularImageTextSliderModule } from 'angular-image-text-slider';
...

@NgModule({
    declarations: [
        AppComponent
    ],
    imports: [
        AngularImageTextSliderModule,
        ...
    ],
    providers: [],
    bootstrap: [AppComponent]
})

export class AppModule {
}

Add component in your template file.

<lib-angular-image-text-slider [slides]="eventsList" (slideActionEvent)="goToEventsPage()"></lib-angular-image-text-slider>

EventsList format

   eventsList: Array<Object> = [ 
   {
     title:'Title 2',
     description:'description 2',
     imageUrl:'https://img-19.commentcamarche.net/cI8qqj-finfDcmx6jMK6Vr-krEw=/1500x/smart/b829396acc244fd484c5ddcdcb2b08f3/ccmcms-commentcamarche/20494859.jpg',
     
   },
   {
     title:'Title 3',
     description:'description 3',
     imageUrl:'https://images.ctfassets.net/hrltx12pl8hq/3j5RylRv1ZdswxcBaMi0y7/b84fa97296bd2350db6ea194c0dce7db/Music_Icon.jpg',
     
   },
  ]; 

FAQs

Package last updated on 20 Apr 2022

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