2026-11-21 14:16:04 +01:00
@* Rider takes this using for unused, but without it, Razor does not recognize the event handler @oninput below, and MudSlider passes it to the DOM as an invalid attribute: *@
@* ReSharper disable once RedundantUsingDirective *@
2026-10-30 20:01:57 +01:00
@using Microsoft.AspNetCore.Components.Web
2024-07-28 11:20:00 +02:00
@typeparam T
2025-08-09 19:29:43 +02:00
@inherits ConfigurationBaseCore
2024-07-28 11:20:00 +02:00
2026-10-30 20:01:57 +01:00
@* The input event bubbles up from the range input inside, also while the value waits for the release: *@
<MudSlider T="@T" Size="Size.Medium" Value="@this.Value()" ValueChanged="@this.OptionChanged" Min="@this.Min" Max="@this.Max" Step="@this.Step" Immediate="@this.Immediate" Disabled="@this.IsDisabled" Class="mb-1" @oninput="@this.ShowDraggedValue">
@(this.draggedValue ?? this.Value()) @this.Unit
2025-08-09 19:29:43 +02:00
</MudSlider>