UNPKG

hswidget

Version:
19 lines (18 loc) 507 B
import m from "mithril"; import { Widget } from './Widget'; import { WidgetAttrs } from './Widget'; import { Vnode } from './Widget'; export interface PoupAttrs extends WidgetAttrs { } export declare class Popup extends Widget { static arm(content: m.Children, attrs?: any): any; private static instance; x: number; y: number; showPopup: boolean; content: m.Children; private show; private move; private hide; view(node: Vnode<PoupAttrs, this>): m.Vnode<any, any>; }