Class TwOnThisPageTheme
- Namespace
- TwBlazor.Configuration.Components
- Assembly
- TwBlazor.dll
Theme configuration for the "On this page" navigation component (TwOnThisPage). Override any property to customize its styles globally.
[ExcludeFromCodeCoverage]
public class TwOnThisPageTheme
- Inheritance
-
TwOnThisPageTheme
- Inherited Members
Constructors
TwOnThisPageTheme()
public TwOnThisPageTheme()
Properties
Link
Gets or sets the classes for each link: its text color, hover state, keyboard focus ring and the transparent marker that sits over the list's rail.
public required string Link { get; set; }
Property Value
LinkCurrent
Gets or sets the classes that restyle the link to the section currently being read. They are applied
to every link and must be scoped to aria-current="location", which is set in the browser as
the page scrolls.
public required string LinkCurrent { get; set; }
Property Value
List
Gets or sets the classes for the <ul> list, including the rail drawn down its start edge.
public required string List { get; set; }
Property Value
Title
Gets or sets the classes for the heading shown above the list of links.
public required string Title { get; set; }