This documentation is also published as Markdown for efficient machine reading: the whole site is indexed at /llms.txt, and every page has a clean Markdown copy at the same URL with .md appended. These are generated from the same source and cost far fewer tokens to read than this rendered HTML.

Skip to main content Skip to navigation

Slots Pennington.UI.Components.Navigation

Base classes per rendered slot, before any per-instance merge.

Properties

Link string
A child link; also carries the data-[current=true] state styling.
List string
The outer <ul> wrapping the whole tree.
Section string
The per-section <li>.
SectionList string
The nested <ul> holding a section's child entries.
SectionTitle string
The section label — the <div> for empty-route entries, or the <a> when a top-level entry has children.
TopLink string
A top-level leaf link; also carries the data-[current=true] state styling.

Constructors

Slots

#
public Slots(string List, string Section, string SectionTitle, string SectionList, string Link, string TopLink)

Base classes per rendered slot, before any per-instance merge.

Parameters

List string
The outer <ul> wrapping the whole tree.
Section string
The per-section <li>.
SectionTitle string
The section label — the <div> for empty-route entries, or the <a> when a top-level entry has children.
SectionList string
The nested <ul> holding a section's child entries.
Link string
A child link; also carries the data-[current=true] state styling.
TopLink string
A top-level leaf link; also carries the data-[current=true] state styling.

Pennington.UI.Components.Navigation.Slots

namespace Pennington.UI.Components.Navigation;

/// Base classes per rendered slot, before any per-instance merge.
public struct Slots
{
    /// A child link; also carries the data-[current=true] state styling.
    
public string Link { get; set; }
/// The outer <ul> wrapping the whole tree.
public string List { get; set; }
/// The per-section <li>.
public string Section { get; set; }
/// The nested <ul> holding a section's child entries.
public string SectionList { get; set; }
/// The section label — the <div> for empty-route entries, or the <a> when a top-level entry has children.
public string SectionTitle { get; set; }
/// Base classes per rendered slot, before any per-instance merge.
public Slots(string List, string Section, string SectionTitle, string SectionList, string Link, string TopLink)
; /// A top-level leaf link; also carries the data-[current=true] state styling.
public string TopLink { get; set; }
}