@ribajs/bs5
Version:
Bootstrap 5 module for Riba.js
37 lines (36 loc) • 1.32 kB
TypeScript
import type { Bs5SlideshowComponent } from "../components/bs5-slideshow/bs5-slideshow.component.js";
import type { SlideshowSlide, SlideshowControlsPosition, SlideshowIndicatorsPosition } from "./index.js";
export interface Bs5SlideshowComponentScope {
next: Bs5SlideshowComponent["next"];
prev: Bs5SlideshowComponent["prev"];
goTo: Bs5SlideshowComponent["goTo"];
enableTouchScroll: Bs5SlideshowComponent["enableTouchScroll"];
disableTouchScroll: Bs5SlideshowComponent["disableTouchScroll"];
items?: SlideshowSlide[];
controlsPositionClass: string;
indicatorsPositionClass: string;
intervalCount: number;
intervalProgress: number;
nextIndex: number;
prevIndex: number;
activeIndex: number;
controls: boolean;
controlsPosition: SlideshowControlsPosition;
indicators: boolean;
indicatorsPosition: SlideshowIndicatorsPosition;
pauseOnHover: boolean;
slidesToScroll: number;
sticky: boolean;
drag: boolean;
touchScroll: boolean;
autoplay: boolean;
autoplayInterval: number;
autoplayVelocity: number;
controlPrevIconSrc: string;
controlNextIconSrc: string;
indicatorInactiveIconSrc: string;
indicatorActiveIconSrc: string;
angle: "vertical" | "horizontal";
pause: boolean;
infinite: boolean;
}