UNPKG

nehan

Version:

Html layout engine for paged-media written in Typescript

10 lines (9 loc) 355 B
import { NehanElement } from "./public-api"; export declare type WhiteSpaceValue = "normal" | "pre" | "nowrap"; export declare class WhiteSpace { value: WhiteSpaceValue; constructor(value: WhiteSpaceValue); isPre(): boolean; static load(element: NehanElement): WhiteSpace; static isWhiteSpaceElement(element: NehanElement): boolean; }