@wordpress/interactivity
Version:
Package that provides a standard and simple way to handle the frontend interactivity of Gutenberg blocks.
9 lines • 344 B
TypeScript
export declare const hydratedIslands: WeakSet<object>;
/**
* Recursive function that transforms a DOM tree into vDOM.
*
* @param {Node} root The root element or node to start traversing on.
* @return {import('preact').VNode[]} The resulting vDOM tree.
*/
export declare function toVdom(root: any): any[];
//# sourceMappingURL=vdom.d.ts.map