18 lines
468 B
C#
18 lines
468 B
C#
using Microsoft.AspNetCore.Components;
|
|
|
|
namespace PlaylistShared.Pwa.Services;
|
|
|
|
public class ContextualActionBarService
|
|
{
|
|
// Событие, которое будет вызываться при изменении содержимого панели
|
|
public event Action? OnChanged;
|
|
|
|
public RenderFragment? Content { get; set; } = null;
|
|
|
|
public bool? Bottom { get; set; }
|
|
|
|
public void ChangeParameters()
|
|
{
|
|
OnChanged?.Invoke();
|
|
}
|
|
} |