mirror of
https://github.com/lantean-code/qbtmud.git
synced 2025-11-02 21:13:15 +00:00
26 lines
662 B
C#
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);
|
|
}
|
|
}
|
|
}
|