mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2025-11-23 13:50:20 +00:00
14 lines
580 B
C#
14 lines
580 B
C#
using Microsoft.AspNetCore.Components;
|
|
|
|
namespace AIStudio.Tools;
|
|
|
|
/// <summary>
|
|
/// Add handling for more DOM events to Blazor components.
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// See https://learn.microsoft.com/en-us/aspnet/core/blazor/components/event-handling. It is important
|
|
/// that this class is named EventHandlers.
|
|
/// </remarks>
|
|
[EventHandler("onmouseenter", typeof(EventArgs), enableStopPropagation: true, enablePreventDefault: true)]
|
|
[EventHandler("onmouseleave", typeof(EventArgs), enableStopPropagation: true, enablePreventDefault: true)]
|
|
public static class EventHandlers; |