css-transform-matrix-plugin
Version:
A webpack plugin that automatically converts CSS transform properties to matrix3d for GPU acceleration
17 lines • 555 B
TypeScript
/**
* 运行时转换单个 transform 值
*/
export declare function transformValue(transformValue: string): string;
/**
* 转换样式对象中的 transform 属性
*/
export declare function transformStyleObject(styles: Record<string, unknown>): Record<string, unknown>;
/**
* 转换 CSS 字符串中的所有 transform 属性
*/
export declare function transformCSSString(css: string): string;
/**
* 批量转换多个 transform 值
*/
export declare function batchTransform(transforms: string[]): string[];
//# sourceMappingURL=runtime.d.ts.map