Table of Contents

Class TwSliderTheme

Namespace
TwBlazor.Configuration.Components
Assembly
TwBlazor.dll

Theme configuration for slider components. Override any property to customize slider styles globally.

[ExcludeFromCodeCoverage]
public class TwSliderTheme
Inheritance
TwSliderTheme
Inherited Members

Constructors

TwSliderTheme()

public TwSliderTheme()

Properties

Base

Gets or sets the classes for the native range input. It is stretched over the full wrapper and made invisible so that pointer, keyboard and touch interaction (and accessibility semantics) are still handled natively, while the visible track/fill/thumb are drawn separately for full styling control.

public required string Base { get; set; }

Property Value

string

Bubble

Gets or sets the classes for the floating value tooltip shown above the thumb on hover/focus.

public required string Bubble { get; set; }

Property Value

string

Colors

Gets or sets the color palette applied to sliders.

public required TwBlazorPalette Colors { get; set; }

Property Value

TwBlazorPalette

Fill

Gets or sets the classes for the background track behind the filled portion of the slider.

public required string Fill { get; set; }

Property Value

string

Thumb

Gets or sets the classes for the draggable thumb positioned at the current value.

public required string Thumb { get; set; }

Property Value

string

Track

Gets or sets the classes for the filled portion of the track, from the start up to the current value.

public required string Track { get; set; }

Property Value

string

Wrapper

Gets or sets the classes for the outer wrapper that hosts the interactive input and the custom visual track.

public required string Wrapper { get; set; }

Property Value

string