From c0b1c950a6c0cfbf7ca3abc4ca0e3fc14ae07e0d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matija=20Ko=C5=BEelj?= Date: Wed, 15 Mar 2023 10:24:02 +0100 Subject: [PATCH] Add global js event handlers for transition and animation ends --- src/Connected.Components/Events/EventHandlers.cs | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 src/Connected.Components/Events/EventHandlers.cs diff --git a/src/Connected.Components/Events/EventHandlers.cs b/src/Connected.Components/Events/EventHandlers.cs new file mode 100644 index 0000000..146a4ee --- /dev/null +++ b/src/Connected.Components/Events/EventHandlers.cs @@ -0,0 +1,14 @@ +using Microsoft.AspNetCore.Components; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Connected.Components; + +[EventHandler("ontransitionend", typeof(EventArgs), enableStopPropagation: true, enablePreventDefault: false)] +[EventHandler("onanimationend", typeof(EventArgs), enableStopPropagation: true, enablePreventDefault: false)] +public static class EventHandlers +{ +}