EU Parliament Monitor — API Documentation - v0.9.8
    Preparing search index...

    Interface ResponsiveBannerPictureOptions

    interface ResponsiveBannerPictureOptions {
        pathPrefix: string;
        pictureClass?: string;
        imageClass: string;
        alt: string;
        sizes: string;
        loading?: "eager" | "lazy";
        ariaHidden?: boolean;
    }
    Index

    Properties

    pathPrefix: string
    pictureClass?: string
    imageClass: string
    alt: string
    sizes: string
    loading?: "eager" | "lazy"
    ariaHidden?: boolean

    When true, renders aria-hidden="true" on the <img> so screen readers skip purely decorative banner imagery. Modelled as a typed flag (rather than a free-form attribute string) so callers cannot inject arbitrary markup into the rendered tag.