solar-ng-zorro-antd
Version:
An enterprise-class UI components based on Ant Design and Angular
14 lines (13 loc) • 412 B
TypeScript
export interface NodeType {
sizingStyle: string;
paddingSize: number;
borderSize: number;
boxSizing: string;
}
export interface NodeProperty {
height: number;
minHeight: number;
maxHeight: number;
overflowY: string;
}
export default function calculateNodeHeight(uiTextNode: HTMLTextAreaElement, useCache?: boolean, minRows?: number | null, maxRows?: number | null): NodeProperty;