UNPKG

@furo/fbp

Version:

Declarative programming with web-components.

66 lines (65 loc) 1.94 kB
declare const FlowBind_base: { new (): { [x: string]: any; __FBPEventlistener: any[]; __wirebundle: {}; __wireQueue: any[]; firstUpdated(): void; __fbpAppended: boolean | undefined; _FBPTriggerWire(wire: any, detailData: any): void; __domPath: string | undefined; _call(detailData: any, receiver: any): void; _FBPAddWireHook(wire: any, cb: any, before?: any): number; _FBPTraceWires(): void; _FBPDebug(wire: any, openDebugger: any): void; __toCamelCase(str: any): any; _appendFBP(dom: any): void; _FBPReady(): void; __fbp_ready: boolean | undefined; __enqueueTrigger(wire: any, detailData: any): void; __resolveWireAndPath(w: any): { path: any; receivingWire: any; }; _pathGet(root: Object, path: string | (string | number)[]): any; _pathSet(root: Object, path: string | (string | number)[], value: any): string | boolean; _split(path: string | (string | number)[]): string[]; }; [x: string]: any; }; /** * `flow-bind` * * Custom element to allow using furo-fbp's template features in a html document. * It comes very handy, when you want write tests or make some demos. * *```html *<test-fixture id="basic"> * <template> * <flow-bind id="elem"> * <template> * <div id="sender" @-click="--data-received">sender</div> * <div id="receiver" ƒ-render="--data-received">receiver</div> * </template> * </flow-bind> * </template> *</test-fixture> *``` * * @customElement * @mixes FBP * @summary Custom element to allow using furo-fbp's template features in a html document. */ export class FlowBind extends FlowBind_base { /** * @private */ private template; /** * * @type {HTMLElement} * @private */ private _host; } export {};