Skip to content

API > ImageFieldType

Type alias: ImageFieldType

ImageFieldType: BaseField & { default: { alt: string; height: number; loading: "disabled" | "eager" | "lazy"; max_height: number; max_width: number; size_type: "auto" | "auto_custom_max" | "auto_full_width" | "exact"; src: string; width: number; }; resizable: boolean; responsive: boolean; showLoading: boolean; type: "image"; }

ImageFieldType.default

default?: object

default.alt

alt?: string

default.height

height?: number

default.loading

loading?: "disabled" | "eager" | "lazy"

default.max_height

max_height?: number

default.max_width

max_width?: number

default.size_type

size_type?: "auto" | "auto_custom_max" | "auto_full_width" | "exact"

default.src

src: string

default.width

width?: number

ImageFieldType.resizable

resizable?: boolean

ImageFieldType.responsive

responsive?: boolean

ImageFieldType.showLoading

showLoading?: boolean

ImageFieldType.type

type: "image"

Source

fieldTypes.ts:320