-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathAudioControls.razor
More file actions
55 lines (42 loc) · 1.88 KB
/
Copy pathAudioControls.razor
File metadata and controls
55 lines (42 loc) · 1.88 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
@namespace FluentUI.Blazor.Community.Components
@inherits FluentComponentBase
<FluentStack Id="@Id"
VerticalAlignment=VerticalAlignment.Center
HorizontalAlignment="HorizontalAlignment.Center"
HorizontalGap="30">
<PlaylistButton Label="@Labels.PlaylistLabel" OnPlaylist="@OnPlaylistToggled" />
<FluentSpacer />
<ShuffleButton ShuffleOnLabel="@Labels.ShuffleOnLabel"
ShuffleOffLabel=@Labels.ShuffleOffLabel
OnShuffleChanged="@OnShuffleChanged" />
<PreviousButton Label="@Labels.PreviousLabel"
IsDisabled=@IsPreviousDisabled
OnPrevious="@OnPrevious" />
<PlayOrPauseButton @ref=_playOrPauseButton
IsDisabled="@IsPlayOrPauseDisabled"
PlayLabel="@Labels.PlayLabel"
PauseLabel="@Labels.PauseLabel"
OnPlayChanged="@OnPlayPauseToggled" />
<StopButton OnStop="@OnStop"
Label="@Labels.StopLabel"
IsDisabled=@IsStopDisabled />
<NextButton IsDisabled=@IsNextDisabled
OnNext="@OnNext"
Label="@Labels.NextLabel" />
<RepeatButton PlaylistLoopLabel="@Labels.PlaylistLoopLabel"
PlaylistOnceLabel="@Labels.PlaylistOnceLabel"
SingleLoopLabel="@Labels.SingleLoopLabel"
SingleOnceLabel="@Labels.SingleOnceLabel"
OnRepeatModeChanged="@OnRepeatModeChanged" />
<VolumeButton Label="@Labels.VolumeLabel" OnVolumeChanged="@OnVolumeChanged" />
<FluentSpacer />
@if (IsDownloadVisible)
{
<DownloadButton IsDisabled="@IsDownloadDisabled"
Label="@Labels.DownloadLabel"
OnDownload="@OnDownload" />
}
<PropertiesButton IsDisabled="@IsPropertiesDisabled"
Label="@Labels.PropertiesLabel"
OnProperties="@OnProperties" />
</FluentStack>