@using PlaylistShared.Shared.Yandex @if (!string.IsNullOrEmpty(Item.CoverUrl)) { } else { } @Item.Title @string.Join(", ", Item.Artists.Select(a => a.Name)) @code { [Parameter] public YandexAlbum Item { get; set; } = null!; [Parameter] public EventCallback OnClick { get; set; } [Parameter] public int Size { get; set; } = 50; private async Task HandleClick() { if (OnClick.HasDelegate) { await OnClick.InvokeAsync(); } } }