UNPKG

@ribajs/bs4

Version:

Bootstrap 4 module for Riba.js

42 lines (41 loc) 1.87 kB
import { Component, TemplateFunction } from "@ribajs/core"; import { EventDispatcher } from "@ribajs/events"; import { Bs4SidebarComponentScope as Scope, Bs4SidebarComponentState as State } from "../../interfaces/index.js"; export declare class Bs4SidebarComponent extends Component { static tagName: string; protected computedStyle?: CSSStyleDeclaration; protected autobind: boolean; static get observedAttributes(): string[]; protected eventDispatcher?: EventDispatcher; protected routerEvents: EventDispatcher; scope: Scope; constructor(); setState(state: State): void; getState(): State; getShowMode(): State; hide(): void; show(): void; toggle(): void; protected connectedCallback(): void; protected initToggleButtonEventDispatcher(): void; protected initRouterEventDispatcher(): void; protected onHidden(): void; protected onSide(state: State): void; protected onOverlay(state: State): void; protected triggerState(): void; protected onStateChange(): void; protected get width(): string; protected setStateByEnvironment(): void; protected _onEnvironmentChanges(): void; protected onEnvironmentChanges: (...params: any[]) => Promise<any>; protected getContainers(): NodeListOf<HTMLUnknownElement> | undefined; protected initContainers(state: State): void; protected setContainersStyle(state: State): void; protected setContainerStyle(container: HTMLUnknownElement, state: State): void; protected beforeBind(): Promise<any>; protected afterBind(): Promise<void>; protected requiredAttributes(): string[]; protected parsedAttributeChangedCallback(attributeName: string, oldValue: any, newValue: any, namespace: string | null): void; protected disconnectedCallback(): void; protected template(): ReturnType<TemplateFunction>; }