UNPKG

@foblex/core

Version:

A core library providing a set of utilities and interfaces for various projects.

17 lines (16 loc) 819 B
/** * @deprecated This class is deprecated and will be removed in future versions. */ export declare class DomElementExtensions { static setDataToAllChildren(element: HTMLElement | SVGElement, attrName: string, value: string): void; static removeDataFromAllChildren(element: HTMLElement | SVGElement, attrName: string): void; /** * @deprecated This method is deprecated and will be removed in future versions. */ static createSvgElement<K extends keyof SVGElementTagNameMap>(tag: K): SVGElementTagNameMap[K]; /** * @deprecated This method is deprecated and will be removed in future versions. */ static createHtmlElement<K extends keyof HTMLElementTagNameMap>(tag: K): HTMLElementTagNameMap[K]; static deepCloneNode<T extends (HTMLElement | SVGElement)>(node: T): T; }