Icard/angular-clarity-master(work.../node_modules/primeng/carousel/carousel.interface.d.ts

64 lines
1.3 KiB
TypeScript

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>;
}