@aplus-frontend/antdv
Version:
Vue basic component library maintained based on ant-design-vue
10 lines (9 loc) • 430 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 calculateAutoSizeStyle(uiTextNode: HTMLTextAreaElement, useCache?: boolean, minRows?: number | null, maxRows?: number | null): CSSProperties;