ZouYouShun / ngx-hm-carousel

a light carousel for Angular18+, support mobile touch by hammerJs
https://stackblitz.com/edit/stackblitz-starters-nkd5pk?file=src%2Fmain.ts
MIT License
60 stars 10 forks source link

Is it possible to implement left/right previews of next/previous cards? (check screenshot) #29

Closed hazemguent closed 4 years ago

hazemguent commented 4 years ago

I wanted to know whether it is supported now, by changing some parameters? or should I play with CSS to perform something like this? If using CSS is possible, can someone give some hints how is it doable?

If not, please try to include it in the next release, thanks in advance :)

image

ZouYouShun commented 4 years ago

Hi @hazemguent, seems in this version the only way to implement that is using a cover div to mask that.

here is an example https://stackblitz.com/edit/ngx-hm-carousel-preview-card