10 lines
293 B
TypeScript
10 lines
293 B
TypeScript
import type SlCarouselItem from '../components/carousel-item/carousel-item.js';
|
|
export type SlSlideChangeEvent = CustomEvent<{
|
|
index: number;
|
|
slide: SlCarouselItem;
|
|
}>;
|
|
declare global {
|
|
interface GlobalEventHandlersEventMap {
|
|
'sl-slide-change': SlSlideChangeEvent;
|
|
}
|
|
}
|