UNPKG

@cycle/dom

Version:

The standard DOM Driver for Cycle.js, based on Snabbdom

9 lines (8 loc) 708 B
import { Scope } from './isolate'; export declare function isClassOrId(str: string): boolean; export declare function isDocFrag(el: Element | DocumentFragment): el is DocumentFragment; export declare function checkValidContainer(container: Element | DocumentFragment | string): void; export declare function getValidNode(selectors: Element | DocumentFragment | string): Element | DocumentFragment | null; export declare function getSelectors(namespace: Array<Scope>): string; export declare function isEqualNamespace(a: Array<Scope> | undefined, b: Array<Scope> | undefined): boolean; export declare function makeInsert(map: Map<string, Map<Element, any>>): (type: string, elm: Element, value: any) => void;