mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
Refactor #4211 - For Carousel
This commit is contained in:
parent
066f9caade
commit
dfef0ca9b5
2 changed files with 19 additions and 0 deletions
12
components/lib/carousel/Carousel.d.ts
vendored
12
components/lib/carousel/Carousel.d.ts
vendored
|
@ -20,6 +20,7 @@ export interface CarouselPassThroughMethodOptions {
|
|||
instance: any;
|
||||
props: CarouselProps;
|
||||
state: CarouselState;
|
||||
context: CarouselContext;
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -165,6 +166,17 @@ export interface CarouselState {
|
|||
swipeThreshold: number;
|
||||
}
|
||||
|
||||
/**
|
||||
* Defines current inline options in Carousel component.
|
||||
*/
|
||||
export interface GalleriaContext {
|
||||
/**
|
||||
* Current highlighted state of the indicator as a boolean.
|
||||
* @defaultValue false
|
||||
*/
|
||||
highlighted: boolean;
|
||||
}
|
||||
|
||||
export interface CarouselResponsiveOptions {
|
||||
/**
|
||||
* Breakpoint for responsive mode. Exp; @media screen and (max-width: ${breakpoint}) {...}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue