2
This commit is contained in:
9
normal-admin/node_modules/element-plus/es/utils/dom/style.d.ts
generated
vendored
Normal file
9
normal-admin/node_modules/element-plus/es/utils/dom/style.d.ts
generated
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
import type { CSSProperties } from 'vue';
|
||||
export declare const classNameToArray: (cls?: string) => string[];
|
||||
export declare const hasClass: (el: Element, cls: string) => boolean;
|
||||
export declare const addClass: (el: Element, cls: string) => void;
|
||||
export declare const removeClass: (el: Element, cls: string) => void;
|
||||
export declare const getStyle: (element: HTMLElement, styleName: keyof CSSProperties) => string;
|
||||
export declare const setStyle: (element: HTMLElement, styleName: CSSProperties | keyof CSSProperties, value?: string | number) => void;
|
||||
export declare const removeStyle: (element: HTMLElement, style: CSSProperties | keyof CSSProperties) => void;
|
||||
export declare function addUnit(value?: string | number, defaultUnit?: string): string | undefined;
|
||||
Reference in New Issue
Block a user