UNPKG

primeng

Version:

PrimeNG is an open source UI library for Angular featuring a rich set of 80+ components, a theme designer, various theme alternatives such as Material, Bootstrap, Tailwind, premium templates and professional support. In addition, it integrates with PrimeB

64 lines (63 loc) 1.31 kB
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<any>; /** * 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<any>; /** * Custom template of nexticon. */ nexticon(): TemplateRef<any>; /** * Custom template of footer. */ footer(): TemplateRef<any>; }