umbot - v2.1.3
    Preparing search index...

    Изображение карточки. Описывает изображение и его параметры

    interface ISberSmartAppCardImage {
        actions?: ISberSmartAppCardAction[];
        hash?: string;
        height?: number;
        placeholder?: string;
        placeholder_color?:
            | "solid_black"
            | "solid_white"
            | "solid_transparent"
            | "solid_disabled"
            | "solid_brand"
            | "solid_warning"
            | "solid_critical"
            | "solid_action"
            | "liquid_60"
            | "liquid_50"
            | "liquid_40"
            | "liquid_30"
            | "liquid_20"
            | "liquid_10";
        scale_mode?: | "top"
        | "scale_aspect_fill"
        | "scale_aspect_fit"
        | "center"
        | "bottom"
        | "left"
        | "right"
        | "top_left"
        | "top_right"
        | "bottom_left"
        | "bottom_right";
        size?: {
            aspect_ratio: number;
            width: "small"
            | "medium"
            | "large"
            | "resizable";
        };
        url?: string;
    }
    Index

    Properties

    Действия

    hash?: string

    Хэш изображения

    height?: number

    Высота контейнера

    192
    
    placeholder?: string

    Заглушка при ошибке

    placeholder_color?:
        | "solid_black"
        | "solid_white"
        | "solid_transparent"
        | "solid_disabled"
        | "solid_brand"
        | "solid_warning"
        | "solid_critical"
        | "solid_action"
        | "liquid_60"
        | "liquid_50"
        | "liquid_40"
        | "liquid_30"
        | "liquid_20"
        | "liquid_10"

    Цвет фона

    scale_mode?:
        | "top"
        | "scale_aspect_fill"
        | "scale_aspect_fit"
        | "center"
        | "bottom"
        | "left"
        | "right"
        | "top_left"
        | "top_right"
        | "bottom_left"
        | "bottom_right"

    Режим масштабирования

    size?: {
        aspect_ratio: number;
        width: "small" | "medium" | "large" | "resizable";
    }

    Размер изображения

    Type Declaration

    • aspect_ratio: number

      Соотношение сторон

    • width: "small" | "medium" | "large" | "resizable"

      Ширина в сетке

    url?: string

    URL изображения