UNPKG

@devexpress/utils

Version:
15 lines 993 B
export declare class AttrUtils { private static readonly emptyObject; static setElementAttribute(obj: HTMLElement, attrName: string, value: string): void; static setStyleAttribute(obj: CSSStyleDeclaration, attrName: string, value: string): void; static getElementAttribute(obj: HTMLElement, attrName: string): string | null; static getStyleAttribute(obj: CSSStyleDeclaration, attrName: string): string | null; static removeElementAttribute(obj: HTMLElement, attrName: string): void; static removeStyleAttribute(obj: CSSStyleDeclaration, attrName: string): void; static changeElementStyleAttribute(obj: HTMLElement, attrName: string, newValue: string): void; static restoreElementStyleAttribute(obj: HTMLElement, attrName: string): boolean; static saveStyleAttributeInElement(obj: HTMLElement, attrName: string): void; private static isExistsAttributeInElement; private static isAttributeExists; } //# sourceMappingURL=attr.d.ts.map