New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

angular2-carousel-simple

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

angular2-carousel-simple

simple carousel

latest
Source
npmnpm
Version
1.0.2
Version published
Maintainers
1
Created
Source

install:

npm install angular2-carousel-ztw --save

import:

app.module:

      import {CarouselModuleModule} from 'angular2-carousel-ztw/carousel-module.module';

use:

angular-carousel-module use it as follow:

        <ztw-carousel style='width:400px,height:300px'>
          <ztw-carousel-item *ngFor='...'>
            <img [src]='...' ztw-carousel-img>
          </ztw-carousel-item>
        </ztw-carousel>

and:

     <ztw-carousel style='..'>
          <ztw-carousel-item *ngFor='...'>
            <img [src]='...' ztw-carousel-img>
            <div ztw-carousel-header>
                <h1>title</h1>
                <div>hello picture!</div>
            </div>
          </ztw-carousel-item>
        </ztw-carousel>
        

ztw-carousel

Properties:

  • reverse: false(default) |true

  • interval: : false(default) | :number(ms)  

set auto play interval time

  • cyclic: true(default) | false

example:

        <ztw-carousel interval='5000'></ztw-carousel>

Keywords

angular

FAQs

Package last updated on 17 Mar 2017

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