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

angular-jk-carousel

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

angular-jk-carousel

Amazing carousel for angular material

  • 0.0.3
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
68
decreased by-17.07%
Maintainers
1
Weekly downloads
 
Created
Source

An Amazing AngularJS 1 Carousel that works with Angular Material and has no jQuery dependency.

Demo : https://embed.plnkr.co/ovBExhpO40yzWPJ47QFE/

Install :

npm

npm install angular-jk-carousel

Usage :

  • Add jk-carousel.js to your index file:
<script src="angular.js"></script>
<script src="jk-carousel.js"></script>
  • Add jk-carousel.css to your index file:
<link href="jk-carousel.css" rel="stylesheet" type="text/css" />
  • Add a dependency to the jkAngularCarousel module in your application.
angular.module('MyApp', ['jkAngularCarousel']);
  • Add a jk-carousel tag to your html, set the data array and the item template url
<jk-carousel data="ctrl.arrayData" item-template-url="'item-template.html'" >
</jk-carousel>
  • The data array can be pretty much any collection of any kind of objects that you like
vm.arrayData = [
  { src: 'image1.png' },
  { src: 'image2.png' },
  { src: 'image3.png' },
  { src: 'image4.png' }
];
  • A very simple example of an item template looks like this:
<div>
  <img ng-src="{{item.src}}" style="height: 400px" >
</div>

TODO :

  • Autoslide feature
  • Add more transition types
  • Make the component responsive

License

This module is released under the permissive MIT license. Contributions or suggestions are always welcome :D

Keywords

FAQs

Package last updated on 03 Mar 2016

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