Interface WrapOptions

Options for wrapping a string.

interface WrapOptions {
    sizer?: Sizer;
    string: string;
    width: number;
}

Properties

Properties

sizer?: Sizer

Describe how to respect unrendered characters.

string: string

The string to be wrapped.

width: number

The desired width of each line.