Member Junction
    Preparing search index...

    A single item in an <mj-left-nav>.

    interface MJLeftNavItem {
        badge?: string | number;
        children?: MJLeftNavItem[];
        description?: string;
        disabled?: boolean;
        icon?: string;
        id: string;
        label: string;
    }
    Index

    Properties

    badge?: string | number

    Optional count badge rendered at the right of the item.

    children?: MJLeftNavItem[]

    Optional child items for tree-structured nav (e.g. Testing Explorer's Test Suites tree). When children is undefined the item renders as a plain flat-list item (existing behavior). When defined — even as an empty array — the item participates in tree rendering: a chevron toggle shows for non-empty arrays, and an equal-width placeholder reserves alignment space for leaves so siblings line up. Expansion state is owned by the consumer via [ExpandedIds] on <mj-left-nav>.

    description?: string

    Optional muted secondary line shown under the label.

    disabled?: boolean

    When true, the item renders dimmed and is not clickable.

    icon?: string

    Optional Font Awesome icon class (e.g. 'fa-solid fa-users').

    id: string

    Stable identifier — used for active-state matching and emitted on click.

    label: string

    Primary label rendered as the item's main text.