You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
799 B
14 lines
799 B
import { VNode, VNodeData } from "./vnode";
|
|
export declare type VNodes = VNode[];
|
|
export declare type VNodeChildElement = VNode | string | number | String | Number | undefined | null;
|
|
export declare type ArrayOrElement<T> = T | T[];
|
|
export declare type VNodeChildren = ArrayOrElement<VNodeChildElement>;
|
|
export declare function addNS(data: any, children: Array<VNode | string> | undefined, sel: string | undefined): void;
|
|
export declare function h(sel: string): VNode;
|
|
export declare function h(sel: string, data: VNodeData | null): VNode;
|
|
export declare function h(sel: string, children: VNodeChildren): VNode;
|
|
export declare function h(sel: string, data: VNodeData | null, children: VNodeChildren): VNode;
|
|
/**
|
|
* @experimental
|
|
*/
|
|
export declare function fragment(children: VNodeChildren): VNode;
|
|
|