For more examples, visit the Storybook

    <StudsSlider @bind-Value=@value TValue="int" />

    @code {
        int value = 33;
    }
Value
int

The default value of the slider.

TValue
TValue

The type of the value.

Step
string

The step size of the slider.

Range
bool

If true, the slider will be a range slider.

Min
int

The minimum value of the slider.

Max
int

The maximum value of the slider.

Name
string

The name of the slider.

TabIndex
int

The tab index of the slider.

Disabled
bool

If true, the slider will be disabled.

ValueChanged
EventCallback<int>

Callback function that is called when the value changes.

ValueChanged
EventCallback<int>

Callback function that is called when the value changes.

ValueExpression
Expression<Func<int>>

The expression that is used to bind the value.

Attributes
Dictionary<string, object>

Specifies additional custom attributes that will be rendered by the component.

MouseEnter
EventCallback<ElementReference>

Gets or sets the callback that is invoked when the mouse enters an item.

MouseLeave
EventCallback<ElementReference>

Gets or sets the callback that is invoked when the mouse leaves an item.

ContextMenu
EventCallback<MouseEventArgs>

A callback that will be invoked when the user right-clicks the component. Commonly used to display a context menu.

Culture
CultureInfo
default:"CultureInfo.CurrentCulture"

Gets or sets the culture used to display localizable data (numbers, dates). Set by default to “CultureInfo.CurrentCulture”.

Style
string

Gets or sets the inline CSS style.

Visible
bool
default:"true"

Gets or sets a value indicating whether this “T:Studs.StudsComponent” is visible. Invisible components are not rendered.