UNPKG

@wordpress/interactivity

Version:

Package that provides a standard and simple way to handle the frontend interactivity of Gutenberg blocks.

13 lines 400 B
/** * External dependencies */ import { type ComponentChild } from 'preact'; export declare const hydratedIslands: WeakSet<WeakKey>; /** * Recursive function that transforms a DOM tree into vDOM. * * @param root The root element or node to start traversing on. * @return The resulting vDOM tree. */ export declare function toVdom(root: Node): ComponentChild; //# sourceMappingURL=vdom.d.ts.map