@theredhead — Frontend Library - v1.0.0
    Preparing search index...

    Interface NavigationNodeData

    Data payload carried by each node in the navigation tree.

    The structural properties (id, icon, disabled, expanded, children) live on the TreeNode wrapper; this interface holds the domain-specific fields.

    interface NavigationNodeData {
        badge?: string;
        label: string;
        route?: string;
    }
    Index

    Properties

    Properties

    badge?: string

    Optional trailing badge text (e.g. an unread count). Forwarded to the sidebar item's [badge] input.

    label: string

    Display label shown in the sidebar and breadcrumb trail.

    route?: string

    Optional route path for Angular Router integration.

    When items are produced by routesToNavigation(), this is set to the full resolved path segment. Consumers can use it in the (navigated) handler to call router.navigate().