Giter Site home page Giter Site logo

klords / ui-carousel Goto Github PK

View Code? Open in Web Editor NEW

This project forked from bougarfaoui/ui-carousel

0.0 1.0 0.0 2.46 MB

๐ŸŽจ Angular carousel Component ๐Ÿ”ฅ

Home Page: https://bougarfaoui.github.io/ui-carousel/

License: MIT License

TypeScript 100.00%

ui-carousel's Introduction

๐ŸŒ€ui-carousel

โœจ Carousel component for angular 4 and 5

๐Ÿ’ฅ Features :

  • ๐Ÿ‘Œ Supports touch events
  • โšก๏ธ Image lazy loading
  • ๐Ÿ˜ˆ No third party library
  • ๐Ÿ˜Ž Easy to use API

Install

npm install ui-carousel --save

Demo :

Example :

    <ui-carousel [infinite]="true" [fade]="false" [speed]="200" >
        <ui-carousel-item *ngFor="let item of items">
            <img [ui-lazy-load]="item.img">
        </ui-carousel-item>
    </ui-carousel>

API

Inputs

Inputs Type Description
infinite boolean Infinite carousel
arrows boolean Show/hide Arrows
dots boolean Show/hide Dots
speed number Speed (in milliseconds)
fade bool Enable fade mode
height string Height of the carousel (in px or %)
width string Width of the carousel (in px or %)

Directives :

[ui-lazy-load] : used to lazy load images in the carousel :

  <ui-carousel-item>
     <img [ui-lazy-load]="src">
  </ui-carousel-item>

Licence :

MIT

ui-carousel's People

Contributors

13lazegg avatar goergch avatar msamprz avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.