UNPKG

@ribajs/bs5

Version:

Bootstrap 5 module for Riba.js

36 lines (35 loc) 1.22 kB
import type { Bs5SliderComponent } from "../components/bs5-slider/bs5-slider.component.js"; import type { Bs5SliderSlide, Bs5SliderControlsPosition, Bs5SliderIndicatorsPosition } from "./index.js"; export interface Bs5SliderComponentScope { next: Bs5SliderComponent["next"]; prev: Bs5SliderComponent["prev"]; goTo: Bs5SliderComponent["goTo"]; enableTouchScroll: Bs5SliderComponent["enableTouchScroll"]; disableTouchScroll: Bs5SliderComponent["disableTouchScroll"]; items: Bs5SliderSlide[]; controlsPositionClass: string; indicatorsPositionClass: string; nextIndex: number; prevIndex: number; enableNextControl: boolean; enablePrevControl: boolean; activeSlides: number[]; isScrolling: boolean; showControls: boolean; showIndicators: boolean; slideItemStyle: { [key: string]: string; }; controls: boolean; controlsPosition: Bs5SliderControlsPosition; indicators: boolean; indicatorsPosition: Bs5SliderIndicatorsPosition; slidesToScroll: number; sticky: boolean; drag: boolean; touchScroll: boolean; angle: "vertical" | "horizontal"; infinite: boolean; columns: number; slideTemplate?: string; }