Files
qbtmud/Lantean.QBTMudBlade/Components/UI/TdExtended.razor.cs

26 lines
662 B
C#

using Microsoft.AspNetCore.Components;
using Microsoft.AspNetCore.Components.Web;
using MudBlazor;
namespace Lantean.QBTMudBlade.Components.UI
{
public partial class TdExtended : MudTd
{
[Parameter]
public EventCallback<LongPressEventArgs> OnLongPress { get; set; }
[Parameter]
public EventCallback<MouseEventArgs> OnContextMenu { get; set; }
protected Task OnLongPressInternal(LongPressEventArgs e)
{
return OnLongPress.InvokeAsync(e);
}
protected Task OnContextMenuInternal(MouseEventArgs e)
{
return OnContextMenu.InvokeAsync(e);
}
}
}