UNPKG

ferngully-aurelia-tools

Version:

Ferngully Tools for Aurelia

36 lines (35 loc) 1.2 kB
import { TemplatingEngine } from "aurelia-framework"; import { AureliaHelperService } from "../../../services/aurelia-helper-service"; import { I18N } from 'aurelia-i18n'; export interface ITemplateSpec { content: string; bindingContext: any; selectionPath: string; } export declare class Popover { private templatingEngine; private aureliaHelperService; private i18n; element: HTMLElement; delay: number | Object; placement: string | Function; title: string; content: string; template: ITemplateSpec; container: string | boolean; trigger: string; enable: boolean; animation: boolean; html: boolean; viewport: string | Object | Function; private bindingContext; constructor(element: HTMLElement, templatingEngine: TemplatingEngine, aureliaHelperService: AureliaHelperService, i18n: I18N); bind(bindingContext: Object): void; unbind(): void; private titleChanged(newValue, oldValue); private contentChanged(newValue); private templateChanged(newValue, oldValue); private enableChanged(newValue, oldValue); private configurePopover(); private enhance(); }