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

carousel-angular

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

carousel-angular

A simple carousel component for Angular 14+ based on 'angular-responsive-carousel' by Ivy Laboratory http://ivylab.space

  • 1.5.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
33
decreased by-36.54%
Maintainers
1
Weekly downloads
 
Created
Source

Demo

Live demo.

About

This is a fork version of ivylaboratory/angular-carousel with the following changes:

  • Navigation arrows new design
  • Bug fixes:
    • Fix scrolling to previous item scrolls to start only
    • Fix when drag & drop event starts on inner content (drag & drop is now blocked)
    • Fix autoplay stop when hovering carousel
  • Removed 'images' and 'loop' functionality to reduce bundle size ('loop' never worked before without 'images')
  • Changed default settings
  • Performed .sass and .ts linting, overall code cleanup (removing unused members) and modernization
  • Bundle size is reduced to 529 kB unpacked against 814 kB before
  • Dependency versions upgrade to fit Angular 14

Installation

Install the npm package.

  npm i carousel-angular

Import module:

  import {IvyCarouselModule} from 'carousel-angular';

  @NgModule({
      imports: [IvyCarouselModule]
  })

Usage

Put the contents of your cells in containers with the carousel-cell class.

<carousel>
    <div class="carousel-cell">
        <img src="path_to_image"> <!-- Or any other HTML content -->
    </div>
    <div class="carousel-cell">
        ...
</carousel>

Credits

Please see angular-carousel author's page respectively: drozhzhin-n-e

Keywords

FAQs

Package last updated on 27 Nov 2022

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