Socket
Socket
Sign inDemoInstall

ngx-hm-carousel

Package Overview
Dependencies
7
Maintainers
1
Versions
39
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
Previous134Next

1.6.0

Diff

Changelog

Source

1.6.0

Feature

  • Seprate moving animation with user occur and autoplay: We seprate the animation class with [aniClass] and [aniClassAuto], now we can use different class for that.
    Example
alanzou
published 1.5.2 •

Changelog

Source

1.5.2

But Fix

  • Mouse over restart problem: Fix error with [mourse-enable]=true problem with restart.
alanzou
published 1.5.0 •

Changelog

Source

1.5.0

Feature

  • Break point with width: We can set own break point with input [breakpoint] to switch show number with own logic. Example Important: the breakpoint is follow the container width, not follow with window width.
// the breakpoint interface
export interface NgxHmCarouselBreakPointUp {
  width: number;
  number: number;
}
  • infinite with multi show number: We can use the input [show-num] and set [infinite]="true", it will clone the element to view, and can change the input dynamicly to switch show number. Example

But Fix

  • Mouse over restart problem: Fix when enable mourse-enable, when mourse on the carousel and drap the view, change index, the restart will run problem.

  • Drag many animation disappear problem: Fil problem with drag many, the animation doesn't append problem.

alanzou
published 1.4.1 •

Changelog

Source

1.4.1

But Fix

  • Fix Animation error: fix doesn't remove aniClass when remove animation.
  • Fix init with index error: fix when init with index, the animation will occur problem.
alanzou
published 1.4.0 •

Changelog

Source

1.4.0

Feature

  • Add support with Angular Universal: when universal run, it will init with carousel view.
alanzou
published 1.3.2 •

Changelog

Source

1.3.2

Feature

  • Add Disable Drag: add input to switch drag event listener with [disable-drag].
  • When elements length zero can't drag: Now when children elements length is equal zero, stop drag event.

Break Change

  • Not drag with pan move: change name with [notDrag] to [not-follow-pan].
alanzou
published 1.3.1 •

Changelog

Source

1.3.1

Optimize Performance

  • Optimize Performance: fix problem with change Detection by onPush and ngZone

Break Change

  • remove emit with progress width: remove emit with progress width, it will cause performance problem, now it only using width change with progress bar, change like below.
<ng-template #carouselProgress let-progress>
  <div class="progress"></div>
</ng-template>
.progress {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0; // set default width to zero, it will increase with duraction (%)
  height: 5px;
  background: #ff5252;
}
alanzou
published 1.3.0 •

Changelog

Source

1.3.0

Feature

  • Animation class: add [input] with animation add class by [aniClass]
  • Not drag with pan move: add [input] with Not drag with pan move by [notDrag]
alanzou
published 1.2.9 •

Changelog

Source

1.2.9

Bug fix

  • Mobile touch error: Fix when scroll event occur, the carousel will move error point, and can't touch problem.
alanzou
published 1.2.8 •

Changelog

Source

1.2.8

Bug fix

  • carousel item change: When add item to the children, will recaculate the carousel variable.

Break Change

  • Add ngx-hm-carousel-item directive back: with recaculate the carousel varibae so add ngx-hm-carousel back.
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc