gbrlsnchs / material2-carousel

A carousel component for Angular using Material
https://gsr.dev/material2-carousel
MIT License
85 stars 114 forks source link

Add change output to the carousel that emits whenever the slide changes #20

Closed tiagoblackcode closed 4 years ago

tiagoblackcode commented 4 years ago

Currently there is no way to get notified whenever the carousel's active slide changes. This change adds a @Output() change to the carousel component that emits whenever the slide changes, both manually and automatically (when [autoplay]="true").