Interface Sizer

Describes methods of sizing strings with different types of unrendered data.

interface Sizer {
    close?: string;
    open?: string;
    size: StringSizer;
}

Properties

Properties

close?: string

The character used to indicate the end of unrendered data.

open?: string

The character used to indicate the beginning of unrendered data.

A function that returns only the rendered size of the given string.