Skip to content

Css

classesReg

暂无文档注释,欢迎补充。

getClasses

暂无文档注释,欢迎补充。

getCssVar

暂无文档注释,欢迎补充。

hasClassName

暂无文档注释,欢迎补充。

setCssVar

暂无文档注释,欢迎补充。

useNamespace

暂无文档注释,欢迎补充。

setStyle

暂无文档注释,欢迎补充。

removeStyle

暂无文档注释,欢迎补充。

addRules

EN: Insert a CSS rule string into the first stylesheet at an optional index.

/**
*
* @param { string } rule '#blanc { color: white }'
* @param { number } [index] cssRules 中的位置
* @description EN: Insert a CSS rule string into the first stylesheet at an optional index.
*/

addClass

dom上添加class EN: Add a CSS class to the provided element(s).

/**
* dom上添加class
* @description EN: Add a CSS class to the provided element(s).
* @param { MaybeElement } selector 元素
* @param { string } className class类
* @returns
*/

removeClass

dom上删除class EN: Remove a CSS class from the provided element(s).

/**
* dom上删除class
* @description EN: Remove a CSS class from the provided element(s).
* @param { MaybeElement } selector 元素
* @param { string } className class类
* @returns
*/