e3fe401abf
Add Disabled parameter to PlayStateIcon; forward to MudIconButton; pass Disabled="!IsLoaded" from PlayerControls to match Stop button parity.
15 lines
547 B
C#
15 lines
547 B
C#
using Microsoft.AspNetCore.Components;
|
|
|
|
namespace DeepDrftPublic.Client.Controls.AudioPlayerBar;
|
|
|
|
public partial class PlayerTransportZone : ComponentBase
|
|
{
|
|
[Parameter] public bool IsLoaded { get; set; }
|
|
[Parameter] public bool IsLoading { get; set; }
|
|
[Parameter] public bool IsStreaming { get; set; }
|
|
[Parameter] public double LoadProgress { get; set; }
|
|
[Parameter] public EventCallback TogglePlayPause { get; set; }
|
|
[Parameter] public EventCallback Stop { get; set; }
|
|
[Parameter] public string? Class { get; set; }
|
|
}
|