You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
652 B
25 lines
652 B
<div class="item"
|
|
ondragover="event.preventDefault();"
|
|
draggable="true"
|
|
@ondragstart="@OnDragStart"
|
|
@ondrop="@OnDrop"
|
|
@ondragenter="@OnDragEnter"
|
|
@ondragleave="@OnDragLeave">
|
|
|
|
@if (musique != null)
|
|
{
|
|
@musique.titre
|
|
}
|
|
</div>
|
|
|
|
@if (@musique == null)
|
|
{
|
|
<h2>Aucune chanson sélectionner !</h2>
|
|
<audio src="song/wtd.mp3" controls></audio>
|
|
} else
|
|
{
|
|
<h2>@musique.titre</h2>
|
|
<audio src="song/@(musique.songName)" controls></audio>
|
|
}
|
|
|
|
<button type="button" class="btn btn-primary" @onclick="() => Reset()"><i class="fa fa-trash"></i> Reset musique</button> |