bootstrap-vue-3
Version:
Early (but lovely) implementation of Vue 3, Bootstrap 5 and Typescript
191 lines (190 loc) • 5.05 kB
TypeScript
export declare const injectionKey: InjectionKey<BCarouselParentData>;
import type { BCarouselParentData } from '../../types/components';
import { InjectionKey, VNode } from 'vue';
import { Carousel } from 'bootstrap';
import type { Booleanish } from '../../types';
declare const _sfc_main: import("vue").DefineComponent<{
startingSlide: {
type: NumberConstructor;
required: false;
default: number;
};
id: {
type: StringConstructor;
required: false;
};
imgHeight: {
type: StringConstructor;
required: false;
};
imgWidth: {
type: StringConstructor;
required: false;
};
background: {
type: StringConstructor;
required: false;
};
modelValue: {
type: NumberConstructor;
required: false;
default: number;
};
controls: {
type: null;
required: false;
default: boolean;
};
indicators: {
type: null;
required: false;
default: boolean;
};
interval: {
type: NumberConstructor;
required: false;
default: number;
};
noTouch: {
type: null;
required: false;
default: boolean;
};
noWrap: {
type: null;
required: false;
default: boolean;
};
controlsPrevText: {
type: StringConstructor;
required: false;
default: string;
};
controlsNextText: {
type: StringConstructor;
required: false;
default: string;
};
indicatorsButtonLabel: {
type: StringConstructor;
required: false;
default: string;
};
}, {
injectionKey: InjectionKey<BCarouselParentData>;
props: {
startingSlide: number;
id?: string | undefined;
imgHeight?: string | undefined;
imgWidth?: string | undefined;
background?: string | undefined;
modelValue: number;
controls: Booleanish;
indicators: Booleanish;
interval: number;
noTouch: Booleanish;
noWrap: Booleanish;
controlsPrevText: string;
controlsNextText: string;
indicatorsButtonLabel: string;
};
controlsBoolean: import("vue").ComputedRef<boolean>;
indicatorsBoolean: import("vue").ComputedRef<boolean>;
noTouchBoolean: import("vue").ComputedRef<boolean>;
noWrapBoolean: import("vue").ComputedRef<boolean>;
emit: {
(e: 'sliding-start', value: Event): void;
(e: 'sliding-end', value: Event): void;
};
slots: Readonly<{
[name: string]: import("vue").Slot | undefined;
}>;
element: import("vue").Ref<HTMLElement | undefined>;
instance: import("vue").Ref<Carousel | undefined>;
computedId: import("vue").ComputedRef<string>;
slides: import("vue").Ref<VNode<import("vue").RendererNode, import("vue").RendererElement, {
[key: string]: any;
}>[]>;
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("sliding-start" | "sliding-end")[], "sliding-start" | "sliding-end", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
startingSlide: {
type: NumberConstructor;
required: false;
default: number;
};
id: {
type: StringConstructor;
required: false;
};
imgHeight: {
type: StringConstructor;
required: false;
};
imgWidth: {
type: StringConstructor;
required: false;
};
background: {
type: StringConstructor;
required: false;
};
modelValue: {
type: NumberConstructor;
required: false;
default: number;
};
controls: {
type: null;
required: false;
default: boolean;
};
indicators: {
type: null;
required: false;
default: boolean;
};
interval: {
type: NumberConstructor;
required: false;
default: number;
};
noTouch: {
type: null;
required: false;
default: boolean;
};
noWrap: {
type: null;
required: false;
default: boolean;
};
controlsPrevText: {
type: StringConstructor;
required: false;
default: string;
};
controlsNextText: {
type: StringConstructor;
required: false;
default: string;
};
indicatorsButtonLabel: {
type: StringConstructor;
required: false;
default: string;
};
}>> & {
"onSliding-start"?: ((...args: any[]) => any) | undefined;
"onSliding-end"?: ((...args: any[]) => any) | undefined;
}, {
modelValue: number;
startingSlide: number;
controls: any;
indicators: any;
interval: number;
noTouch: any;
noWrap: any;
controlsPrevText: string;
controlsNextText: string;
indicatorsButtonLabel: string;
}>;
export default _sfc_main;