@wix/design-system
Version:
@wix/design-system
30 lines • 854 B
TypeScript
export interface CarouselUniDriver {
exists: () => Promise<boolean>;
/**
* Checks whether the carousel is loading
* @return {Promise<boolean>}
*/
isLoading: () => Promise<boolean>;
/**
* Gets children list elements
* @return {UniDriverList}
*/
getChildren: () => any;
/**
* Get a list of the carousel images
* @return {Promise<Array<string | null>>}
*/
getImages: () => Promise<Array<string | null>>;
/**
* Click on the previous item button
* @return {Promise<void>}
*/
clickPrevious: () => Promise<void>;
/**
* Click on the next item button
* @return {Promise<void>}
*/
clickNext: () => Promise<void>;
}
export declare const carouselUniDriverFactory: (base: any) => CarouselUniDriver;
//# sourceMappingURL=Carousel.uni.driver.d.ts.map