
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
angular-jk-carousel
Advanced tools
An Amazing Fully Responsive AngularJS 1 Carousel that works with Angular Material and has no jQuery dependency.
Demo : https://embed.plnkr.co/ovBExhpO40yzWPJ47QFE/
npm install angular-jk-carousel
bower install angular-jk-carousel
jk-carousel.js
to your index file:<script src="angular.js"></script>
<script src="jk-carousel.js"></script>
jk-carousel.css
to your index file:<link href="jk-carousel.css" rel="stylesheet" type="text/css" />
jkAngularCarousel
module in your application.angular.module('MyApp', ['jkAngularCarousel']);
jk-carousel
tag to your html, set the data array, the item template url and the carousel max width and height.<jk-carousel data="ctrl.arrayData" item-template-url="'item-template.html'" max-width="700" max-height="400" >
</jk-carousel>
NOTE: If a maxWidth and a maxHeight is not set, the component will work, but, it will not be responsive, this feature requires those properties to be properly set ('100%' is not an accepted value, a specific size in pixels needs to be set).
vm.arrayData = [
{ src: 'image1.png' },
{ src: 'image2.png' },
{ src: 'image3.png' },
{ src: 'image4.png' }
];
<div>
<img ng-src="{{slideItem.src}}" >
</div>
<jk-carousel data="ctrl.arrayData" item-template-url="'item-template.html'" auto-slide="true" auto-slide-time="1000" max-width="700" max-height="400" >
</jk-carousel>
This module is released under the permissive MIT license. Contributions or suggestions are always welcome :D
FAQs
Amazing carousel for angular material
The npm package angular-jk-carousel receives a total of 47 weekly downloads. As such, angular-jk-carousel popularity was classified as not popular.
We found that angular-jk-carousel demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.