UNPKG

@ribajs/bs5

Version:

Bootstrap 5 module for Riba.js

22 lines (21 loc) 750 B
import type { SidebarState } from "./index.js"; import type { Bs5SidebarComponent } from "../components/bs5-sidebar/bs5-sidebar.component.js"; export interface Bs5SidebarComponentScope { containerSelector?: string; state: SidebarState; oldState: SidebarState; id?: string; width: string; position: "left" | "right"; mode: "overlap" | "move" | "side"; autoShow: boolean; autoHide: boolean; watchNewPageReadyEvent: boolean; forceHideOnLocationPathnames: Array<string>; forceShowOnLocationPathnames: Array<string>; closeOnSwipe: boolean; preventScrollingOnOverlap: boolean; hide: Bs5SidebarComponent["hide"]; show: Bs5SidebarComponent["show"]; toggle: Bs5SidebarComponent["toggle"]; }