Press "Enter" to skip to content

An Angular JS Responsive Lazy Carousel Directive

Lazy Carousel is an Angular.js lazy-responsive-loading-carousel directive by RL.

angular responsive material carousel, angular material carousel multiple items, lazy loading images angular, angular responsive carousel example

How to make use of it:

Installation:

$ bower install rl-lazy-carousel

1. Add rl.lazy-carousel as a child element for your app:

angular.module('yourApp',['rl.lazy-carousel'])

2. Then the lazy-carousel routing is ready. Remember to add a source attribute that links to the JSON file.

<div lazy-carousel data-source="path_to_your_json"></div>

3. Lazy Carousel uses a JSON file to automatically build a library of images:

{
  "items" : [
    {
      "img": "/buddahbelly/image/upload/v1423072364/brilliantbritz/angular-js.png",
      "alt" : "Angular JS framework"
    },
    {
      "img": "/assets/img/illustration-home-inverted.1f86.png",
      "alt" : "Yeoman!"
    },
    {
      "img": "/img/bower-logo.png",
      "alt" : "I'm a bird, my name is Bower"
    },
    {
      "img": "/-mrFw71M_puI/VE5722ZV70I/AAAAAAAABsE/p4DW4sTySLs/s640-no/nodejs-512%5B1%5D.png",
      "alt" : "Node.js"
    },
    {
      "img": "/assets-cdn.github.com/images/modules/open_graph/github-octocat.png",
      "alt" : "Hey, Github is here!"
    },
    {
      "img": "/assets/img/pro/jv81.png",
      "alt" : "slurp! gulp!"
    }
    
  ]
}

lazy load carousel angular, lazy carousel Plugin/Github


See Demo And Download

Official Website(renoiser): Click Here

This superior jQuery/javascript plugin is developed by renoiser. For extra advanced usage, please go to the official website.

Be First to Comment

    Leave a Reply

    Your email address will not be published.