UNPKG

683 BTypeScriptView Raw
1import { NgbTransitionStartFn } from '../util/transition/ngbTransition';
2/**
3 * Defines the carousel slide transition direction.
4 */
5export declare enum NgbSlideEventDirection {
6 START = "start",
7 END = "end"
8}
9export interface NgbCarouselCtx {
10 /**
11 * <span class="badge bg-info text-dark">since 12.0.0</span> Possible values are `'start' | 'end'`.
12 *
13 * <span class="badge bg-secondary">before 12.0.0</span> Possible values were `'left' | 'right'`.
14 */
15 direction: 'start' | 'end';
16}
17export declare const ngbCarouselTransitionIn: NgbTransitionStartFn<NgbCarouselCtx>;
18export declare const ngbCarouselTransitionOut: NgbTransitionStartFn<NgbCarouselCtx>;