@ribajs/bs5
Version:
Bootstrap 5 module for Riba.js
22 lines (21 loc) • 1.17 kB
TypeScript
import { BasicComponent, Binder, View } from "@ribajs/core";
import { Bs5Service } from "../services/bs5.service.js";
export declare abstract class Bs5AbstractBreakpointBinder<E extends HTMLElement = HTMLElement> extends Binder<string, E> {
protected abstract defaultAttributeBinder: Binder<any, HTMLElement | BasicComponent>;
protected bs5: Bs5Service;
protected breakpoint: string;
protected attributeName: string;
protected val?: any;
constructor(view: View, el: E, type: string | null, name: string, keypath: string | undefined, formatters: string[] | null, identifier: string | null);
protected onBreakpointChanges(): void;
protected setAttributeOnMatch(): void;
protected isBreakpointMatch(breakpoint?: string): boolean;
protected myBreakpoints(breakpoint?: string): string[];
protected breakpointHandledByAnother(name: string): boolean;
protected breakpointUnhandled(breakpoint: string): boolean;
protected addToHandledBreakpoints(): void;
protected getHandledBreakpoints(): string[];
bind(el: HTMLElement): void;
routine(el: HTMLElement, newValue: any): void;
unbind(el: HTMLElement): void;
}