mirror of
https://github.com/cool-team-official/cool-admin-vue.git
synced 2025-12-12 13:42:50 +00:00
25 lines
598 B
TypeScript
25 lines
598 B
TypeScript
/**
|
|
* 获取动态类名
|
|
*/
|
|
export declare const getDynamicClassNames: (value: string) => string[];
|
|
/**
|
|
* 获取类名
|
|
*/
|
|
export declare function getClassNames(html: string): string[];
|
|
/**
|
|
* 获取 class 内容
|
|
*/
|
|
export declare function getClassContent(html: string): string[];
|
|
/**
|
|
* 获取节点
|
|
*/
|
|
export declare function getNodes(code: string): string[];
|
|
/**
|
|
* 添加 script 标签内容
|
|
*/
|
|
export declare function addScriptContent(code: string, content: string): string;
|
|
/**
|
|
* 判断是否为 Tailwind 类名
|
|
*/
|
|
export declare function isTailwindClass(className: string): boolean;
|