Wagtail client-side components
    Preparing search index...

    A state object representing the chosen image.

    interface ImageChosenState {
        default_alt_text: string;
        edit_url: string;
        id: number;
        preview: { height: string; url: string; width: string };
        title: string;
    }
    Index

    Properties

    default_alt_text: string

    The default alt text for the image.

    edit_url: string

    The URL to edit the chosen image.

    id: number

    The ID of the chosen image.

    preview: { height: string; url: string; width: string }

    Preview details of the chosen image.

    Type Declaration

    • height: string

      The height of the preview image.

    • url: string

      The URL of the preview image.

    • width: string

      The width of the preview image.

    title: string

    The title of the chosen image.