You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
759 B
10 lines
759 B
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;
|