A decorator applied to a content string value in order to create rich text.

Decorator

interface AplusContentApiModelDecorator {
    depth?: number;
    length?: number;
    offset?: number;
    type?:
        | AplusContentApiModelDecoratorType
        | "LIST_ITEM"
        | "LIST_ORDERED"
        | "LIST_UNORDERED"
        | "STYLE_BOLD"
        | "STYLE_ITALIC"
        | "STYLE_LINEBREAK"
        | "STYLE_PARAGRAPH"
        | "STYLE_UNDERLINE";
}

Properties

depth?: number

The relative intensity or variation of this decorator. Decorators such as bullet-points, for example, can have multiple indentation depths.

Decorator

length?: number

The number of content characters to alter with this decorator. Decorators such as line breaks can have zero length and fit between characters.

Decorator

offset?: number

The starting character of this decorator within the content string. Use zero for the first character.

Decorator

type?:
    | AplusContentApiModelDecoratorType
    | "LIST_ITEM"
    | "LIST_ORDERED"
    | "LIST_UNORDERED"
    | "STYLE_BOLD"
    | "STYLE_ITALIC"
    | "STYLE_LINEBREAK"
    | "STYLE_PARAGRAPH"
    | "STYLE_UNDERLINE"

Decorator

MMNEPVFCICPMFPCPTTAAATR