import { TemplateRef } from '@angular/core'; /** * Responsive options of the component. * @group Interface */ export interface CarouselResponsiveOptions { /** * Breakpoint for responsive mode. Exp; @media screen and (max-width: ${breakpoint}) {...} */ breakpoint: string; /** * The number of visible items on breakpoint. */ numVisible: number; /** * The number of scrolled items on breakpoint. */ numScroll: number; } /** * Custom page event. * @group Events */ export interface CarouselPageEvent { /** * Current page. */ page?: number; } /** * Defines valid templates in Carousel. * @group Templates */ export interface CarouselTemplates { /** * Custom template of header. */ header(): TemplateRef; /** * Custom template of item. * @param {Object} context - item data. */ item(context: { /** * Data of the item. */ $implicit: any; }): TemplateRef<{ $implicit: any; }>; /** * Custom template of previousicon. */ previousicon(): TemplateRef; /** * Custom template of nexticon. */ nexticon(): TemplateRef; /** * Custom template of footer. */ footer(): TemplateRef; }