mithril-materialized
    Preparing search index...

    Interface ImageListItemAttrs

    interface ImageListItemAttrs {
        actionButton?: ImageListActionButton;
        alt?: string;
        aspectRatio?: number;
        className?: string;
        cols?: number;
        featured?: boolean;
        loading?: "lazy" | "eager";
        onclick?: (item: ImageListItemAttrs, event: Event) => void;
        rows?: number;
        src: string;
        subtitle?: string;
        title?: string;
    }
    Index

    Properties

    actionButton?: ImageListActionButton

    Action button configuration

    alt?: string

    Alternative text for accessibility

    aspectRatio?: number

    Custom aspect ratio (width/height)

    className?: string

    Custom CSS class for the item

    cols?: number

    Number of columns this item should span

    featured?: boolean

    Whether this is a featured/highlighted item

    loading?: "lazy" | "eager"

    Loading state for the image

    onclick?: (item: ImageListItemAttrs, event: Event) => void

    Click handler for the image item

    rows?: number

    Number of rows this item should span

    src: string

    Image source URL

    subtitle?: string

    Subtitle text for overlay

    title?: string

    Title text (appears in tooltip and overlay)