compomint
Version:
A lightweight JavaScript component engine for building web applications with a focus on component-based architecture and template system.
8 lines (7 loc) • 516 B
TypeScript
declare const firstElementChild: (ele: Element | DocumentFragment) => Element | null;
declare const childNodeCount: (ele: Element | DocumentFragment) => number;
declare const childElementCount: (ele: Element | DocumentFragment) => number;
declare const cleanNode: (node: Node) => void;
declare const stringToElement: (str: string | number) => Node;
declare const isPlainObject: (value: unknown) => boolean;
export { firstElementChild, childNodeCount, childElementCount, cleanNode, stringToElement, isPlainObject, };