mithril-materialized
    Preparing search index...

    Interface TimelineItemAttrs

    interface TimelineItemAttrs {
        className?: string;
        color?: "error" | "primary" | "secondary" | "success" | "warning" | "info";
        content?: Children;
        description?: string;
        disabled?: boolean;
        icon?: string;
        id?: string;
        label?: string;
        onclick?: (item: TimelineItemAttrs, event: Event) => void;
        timestamp?: string | Date;
    }
    Index

    Properties

    className?: string

    Custom CSS class for the item

    color?: "error" | "primary" | "secondary" | "success" | "warning" | "info"

    Color theme for the timeline item

    content?: Children

    Custom content to render instead of label/description

    description?: string

    Optional description text

    disabled?: boolean

    Whether the item is disabled

    icon?: string

    Material icon name for the timeline dot

    id?: string

    Unique identifier for the timeline item

    label?: string

    Main label/title for the timeline item

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

    Click handler for the timeline item

    timestamp?: string | Date

    Timestamp for the item (string or Date object)