@ribajs/bs5
Version:
Bootstrap 5 module for Riba.js
36 lines (35 loc) • 1.39 kB
TypeScript
import { Dropdown as _Dropdown } from "bootstrap";
import { Bs5DropdownComponent } from "../components/bs5-dropdown/bs5-dropdown.component.js";
export declare class Dropdown extends _Dropdown {
static hideAll(event: Event): void;
static getAllComponents(): Bs5DropdownComponent[];
static hideAllComponents(): void;
constructor(element: string | Element, options?: Partial<_Dropdown.Options>);
static DATA_API_KEY: string;
static ESCAPE_KEY: string;
static SPACE_KEY: string;
static TAB_KEY: string;
static ARROW_UP_KEY: string;
static ARROW_DOWN_KEY: string;
static RIGHT_MOUSE_BUTTON: number;
static REGEXP_KEYDOWN: RegExp;
static EVENT_HIDE: string;
static EVENT_HIDDEN: string;
static EVENT_SHOW: string;
static EVENT_SHOWN: string;
static EVENT_CLICK: string;
static EVENT_CLICK_DATA_API: string;
static EVENT_KEYDOWN_DATA_API: string;
static EVENT_KEYUP_DATA_API: string;
static CLASS_NAME_DISABLED: string;
static CLASS_NAME_SHOW: string;
static CLASS_NAME_DROPUP: string;
static CLASS_NAME_DROPEND: string;
static CLASS_NAME_DROPSTART: string;
static CLASS_NAME_NAVBAR: string;
static SELECTOR_DATA_TOGGLE: string;
static SELECTOR_FORM_CHILD: string;
static SELECTOR_MENU: string;
static SELECTOR_NAVBAR_NAV: string;
static SELECTOR_VISIBLE_ITEMS: string;
}