Home > utils > htmlToElement
将 HTML 字符串转为 Element。
Signature:
export declare function htmlToElement<T extends Element = Element>(html: string): T | undefined;
Returns:
T | undefined