Visual style of the in-app container, shared by every in-app type.

Colors are hex strings (e.g. "#ffffff").

interface InngageInAppStyle {
    backgroundColor: string;
    backgroundImage: null | string;
    bodyColor: string;
    borderColor: string;
    position: string;
    shadow: boolean;
    titleColor: string;
}

Properties

backgroundColor: string

Background color of the container.

backgroundImage: null | string

URL of a background image for the container, or null when not set.

bodyColor: string

Color of the body text.

borderColor: string

Border color of the container.

position: string

Position of the in-app on screen. Observed value: "center".

shadow: boolean

Whether the container is drawn with a drop shadow.

titleColor: string

Color of the title text.