UNPKG

@ribajs/bs4

Version:

Bootstrap 4 module for Riba.js

53 lines (52 loc) 1.65 kB
import { TooltipService } from "./tooltip.service.js"; import { TooltipContentFn, PopoverOptions } from "../interfaces/index.js"; export declare class PopoverService extends TooltipService { static readonly CONSTANTS: { [key: string]: any; }; static get VERSION(): string; static get Default(): PopoverOptions; static get NAME(): string; static get DATA_KEY(): string; static get Event(): { HIDE: string; HIDDEN: string; SHOW: string; SHOWN: string; INSERTED: string; CLICK: string; FOCUSIN: string; FOCUSOUT: string; MOUSEENTER: string; MOUSELEAVE: string; }; static get EVENT_KEY(): string; static get DefaultType(): { content: string; animation: string; template: string; title: string; trigger: string; delay: string; html: string; selector: string; placement: string; offset: string; container: string; fallbackPlacement: string; boundary: string; sanitize: string; sanitizeFn: string; allowList: string; popperConfig: string; }; constructor(element: HTMLElement | HTMLUnknownElement, config: Partial<PopoverOptions>); isWithContent(): boolean; setContent(content?: string | TooltipContentFn): void; _addAttachmentClass(attachment: string): void; _getContent(): string | TooltipContentFn | undefined; _cleanTipClass(): void; _getPopperConfig(attachment: string): any; static getInstance(element: HTMLElement): any; } export default PopoverService;