wetrade-design
Version:
一款多语言支持Vue3的UI框架
10 lines (9 loc) • 427 B
TypeScript
import type { CSSProperties } from 'vue';
export interface NodeType {
sizingStyle: string;
paddingSize: number;
borderSize: number;
boxSizing: string;
}
export declare function calculateNodeStyling(node: HTMLElement, useCache?: boolean): NodeType;
export default function calculateNodeHeight(uiTextNode: HTMLTextAreaElement, useCache?: boolean, minRows?: number | null, maxRows?: number | null): CSSProperties;