ng-zorro-antd
Version:
An enterprise-class UI components based on Ant Design and Angular
15 lines (14 loc) • 559 B
TypeScript
/**
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE
*/
export interface MeasureResult {
finished: boolean;
node: Node | null;
}
export declare function pxToNumber(value: string | null): number;
export declare function measure(originEle: HTMLElement, rows: number, contentNodes: Node[], fixedContent: HTMLElement[], ellipsisStr: string, suffixStr?: string): {
contentNodes: Node[];
text: string;
ellipsis: boolean;
};