Skip to content

Carousel Dots

Murhaf Sousli edited this page Oct 15, 2018 · 1 revision

To add the navigation dots on a carousel, use the component <carousel-dots> inside the <carousel> component

Example:

<carousel>
  <ng-template slideItem ngFor let-item [ngForOf]="items">
      ...
  </ng-template>

  <carousel-dots></carousel-dots>
</carousel>

Dots events

<carousel>
   ...
  <carousel-dots (dotClick)="onDotClick($event)"></carousel-dots>
</carousel>

Related