版博士V2.0程序
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

123456789
  1. import type { CSSProperties } from 'vue';
  2. export declare const classNameToArray: (cls?: string) => string[];
  3. export declare const hasClass: (el: Element, cls: string) => boolean;
  4. export declare const addClass: (el: Element, cls: string) => void;
  5. export declare const removeClass: (el: Element, cls: string) => void;
  6. export declare const getStyle: (element: HTMLElement, styleName: keyof CSSProperties) => string;
  7. export declare const setStyle: (element: HTMLElement, styleName: CSSProperties | keyof CSSProperties, value?: string | number | undefined) => void;
  8. export declare const removeStyle: (element: HTMLElement, style: CSSProperties | keyof CSSProperties) => void;
  9. export declare function addUnit(value?: string | number, defaultUnit?: string): string | undefined;