Releases: uiuniversal/ngu-carousel
Releases · uiuniversal/ngu-carousel
Updated the carousel to angular 6 and also changed the carousel rendering logic
Updated to angular 6 and rxjs 6
Major Changes
In this update the carousel is updated to angular 6 and rxjs 6. Also changed the rendering logic similar to angular material component, this cahnges is made for future development to support more items like 100, 200, ...
Please check readme file for stackblitz demo
- Updated the carousel to angular 6 #79 #47 #43
- License file add #74
- Fixed the bug by updating to latest version of angular #73
- Now carousel can have more controls by template reference #71 #68 #52 #28
- Fixed the width error when the video or some dynamic rendering issues #66
NguCarouselConfig
now can be import from carousel #63- Button can be controlled independently using template reference #62
- Fixed the browser crash by properly using life Cycle Hooks #21
- Now velocity can accept 0 value
- For carousel
inputs
useNguCarouselConfig
instead ofNguCarousel
. BecauseNguCarousel
is now directly refers to carousel class
New Feature improvements
Check the src/app/app.component for implmentation in code
This release have some breaking changes.
NguCarousel
is now renamed toNguCarouselConfig
NguCarousel
is now used for template reference to the component- In
NguCarouselConfig
the interval is now an object instead of interval timing. It is now containstiming
for interval timing andinitialDelay
for delay the interval on initial load. - Point is removed from the carousel instead of that you can create your own point styles by accessing the carousel. This step is taken based on the feedback of the developers.
pointStyle
is removed frompoint
Carousel service
is now depreciated for good. Instead of that you can use template reference to access the new features directly.- Now this carousel use
ChangeDetectionStrategy OnPush
for performance improvement
Bug fixes:
- Browser crash issue is now fixed.
- Code optimization is done to reduce size.
Vertical carousel and more
Features
- Vertical carousel is enabled (check the readme)
- carousel is now using flex layout. now all the item will be equal in size
Added a service for carousel to make carousel more flexible
Features
- Added a
NguCarouselService
to the carousel with reset and moveToSlide options. - Check the Readme file for the implementation of service in
Tile with service
initData
input is added to the carousel. it will tigger only once on carousel init. This is implemented for getting token from carousel to interact
Breaking changes
moveToSlide
input is removed instead it is added in the carousel service.
RTL option is added
features
RTL
option added in this build. To enable it setRTL: true
. Also change the position of the buttons, rightBtn to left and leftBtn to right.
Bug fixed
- fixed the host binding class issue #3
Fixed the point click event
- Fixed the point click event
Updated Hammerjs reference to carousel
- Updated the hammerjs reference to the carousel
- Universal support
- Now hammerjs is a optional dependency
Universal support added
v1.3.3 updated to fix universal support