ReadonlyactiveThe currently active node id. Supports two-way binding.
ReadonlyariaAccessible label for the navigation landmark.
Protected ReadonlybreadcrumbBreadcrumb trail derived from the active node and its ancestors.
ReadonlybreadcrumbVisual style for the breadcrumb trail.
ReadonlycontentProjected template for the main content area. Receives the current NavigationNode as the implicit context.
<ng-template #content let-node>
<h2>{{ node.data.label }}</h2>
</ng-template>
ReadonlycurrentThe currently active navigation node.
ReadonlydatasourceTree datasource providing navigation nodes.
Accepts any ITreeDatasource whose data payload is
NavigationNodeData. Root nodes with children render as
collapsible groups; leaf nodes render as sidebar items.
Takes precedence over the items convenience input.
ReadonlydrawerWhether the drawer is open (when not pinned). Supports two-way binding.
ReadonlydrawerSide the drawer slides in from.
ReadonlydrawerWidth of the drawer panel.
ReadonlyitemsConvenience: static array of navigation tree nodes.
When set (and no datasource is provided), an internal
ArrayTreeDatasource is created automatically.
Build nodes with the navItem() / navGroup() factories
or the routesToNavigation() utility.
ReadonlynavigatedEmitted when the user navigates to a node.
ReadonlyprojectedProjected sidebar items for custom content above the generated items.
Protected ReadonlyresolvedResolved datasource — from the input or auto-created from items.
ReadonlyrootRoot breadcrumb label displayed as the first item in the trail. Clicking it navigates to the first leaf node.
Protected ReadonlyrootRoot nodes from the resolved datasource.
ReadonlyshowWhether to show the sidebar toggle button before the breadcrumb.
ReadonlysidebarWhether the drawer should always be visible (desktop layout).
ReadonlysidebarWhether the sidebar panel is visible. Supports two-way binding. Defaults to shown.
ReadonlystorageOptional localStorage key for persisting the sidebar open/closed state.
When set, the component reads the stored value on creation and
writes back whenever sidebarVisible changes. Leave empty
(the default) to disable persistence.
Navigate to the first leaf node (root breadcrumb click handler).
A callback method that is invoked immediately after the default change detector has checked the directive's data-bound properties for the first time, and before any of the view or content children have been checked. It is invoked only once when the directive is instantiated.
Toggle the sidebar and persist the new state to storage.
A full-page navigation layout that combines a UIDrawer, a UISidebarNav with configurable items, a UIBreadcrumb path, and a main content area.
Navigation items are provided as a tree — either via an ITreeDatasource for dynamic data, or via a convenience
itemsinput acceptingNavigationNode[].Tree nodes with children are rendered as collapsible
<ui-sidebar-group>elements; leaf nodes render as<ui-sidebar-item>entries. The breadcrumb trail is built automatically from the node hierarchy.Data sources
datasourceITreeDatasource<NavigationNodeData>itemsNavigationNode[]When both are set,
datasourcetakes precedence.Use the
navItem()andnavGroup()factory functions (orroutesToNavigation()for Angular Router integration) to build the node array ergonomically.Example