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 under /_llms/. 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

TocVariantStyles Pennington.UI.Components.Navigation

Per-variant base class strings for each slot TableOfContentsNavigation renders. One For call returns every slot for a variant; the component merges any per-instance *Class parameter over these.

Methods

For

#
public static Slots For(TocVariant variant)

Resolves the slot bases for variant.

Parameters

variant TocVariant

Returns

Slots

Pennington.UI.Components.Navigation.TocVariantStyles

namespace Pennington.UI.Components.Navigation;

/// Per-variant base class strings for each slot TableOfContentsNavigation renders. One For call returns every slot for a variant; the component merges any per-instance *Class parameter over these.
public class TocVariantStyles
{
    /// Resolves the slot bases for variant.
    
public static Slots For(TocVariant variant)
; }