Braze JavaScript SDK
    Preparing search index...

    Interface InAppMessageProps

    interface InAppMessageProps {
        animateIn?: boolean;
        animateOut?: boolean;
        backgroundColor?: number;
        buttons?: InAppMessageButton[];
        clickAction?: "URI" | "NONE";
        closeButtonColor?: number;
        cropType?: "CENTER_CROP" | "FIT_CENTER";
        css?: string;
        dismissType?: "AUTO_DISMISS" | "SWIPE";
        duration?: number;
        extras?: Record<string, string>;
        frameColor?: number;
        header?: string;
        headerAlignment?: string;
        headerTextColor?: number;
        htmlId?: string;
        icon?: string;
        iconBackgroundColor?: number;
        iconColor?: number;
        imageStyle?: "TOP" | "GRAPHIC";
        imageUrl?: string;
        message?: string;
        messageAlignment?: "START" | "CENTER" | "END";
        messageExtras?: None | Record<string, string>;
        openTarget?: "NONE" | "BLANK";
        orientation?: "PORTRAIT" | "LANDSCAPE";
        slideFrom?: "TOP" | "BOTTOM";
        textColor?: number;
        triggerId?: string;
        uri?: string;
    }
    Index

    Properties

    animateIn?: boolean
    animateOut?: boolean
    backgroundColor?: number
    buttons?: InAppMessageButton[]
    clickAction?: "URI" | "NONE"
    closeButtonColor?: number
    cropType?: "CENTER_CROP" | "FIT_CENTER"
    css?: string
    dismissType?: "AUTO_DISMISS" | "SWIPE"
    duration?: number
    extras?: Record<string, string>
    frameColor?: number
    header?: string
    headerAlignment?: string
    headerTextColor?: number
    htmlId?: string
    icon?: string
    iconBackgroundColor?: number
    iconColor?: number
    imageStyle?: "TOP" | "GRAPHIC"
    imageUrl?: string
    message?: string
    messageAlignment?: "START" | "CENTER" | "END"
    messageExtras?: None | Record<string, string>
    openTarget?: "NONE" | "BLANK"
    orientation?: "PORTRAIT" | "LANDSCAPE"
    slideFrom?: "TOP" | "BOTTOM"
    textColor?: number
    triggerId?: string
    uri?: string