e3fe401abf
Add Disabled parameter to PlayStateIcon; forward to MudIconButton; pass Disabled="!IsLoaded" from PlayerControls to match Stop button parity.
11 lines
355 B
C#
11 lines
355 B
C#
using Microsoft.AspNetCore.Components;
|
|
|
|
namespace DeepDrftPublic.Client.Controls.AudioPlayerBar;
|
|
|
|
public partial class PlayerControls : ComponentBase
|
|
{
|
|
[Parameter] public required bool IsLoaded { get; set; }
|
|
[Parameter] public required EventCallback TogglePlayPause { get; set; }
|
|
[Parameter] public required EventCallback Stop { get; set; }
|
|
}
|