ant-design-blazor/components/core/JsInterop/DomEventSubscription.cs
Andrzej Bakun b22f9495f4 feat: use ResizeObserver Api instead of window.resize (#1392)
* feat: use ResizeObserver Api instead of window.resize

* fix(module:select): fall back to window.resize in IE11.

* fix(module:domEventService): switch from IsIE11 to IsResizeObserverSupported

* fix: Console.WriteLine removed

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-04-27 06:03:39 +00:00

17 lines
341 B
C#

using System;
namespace AntDesign.JsInterop
{
internal class DomEventSubscription
{
internal Delegate Delegate { get; set; }
internal Type Type { get; set; }
public DomEventSubscription(Delegate @delegate, Type type)
{
Delegate = @delegate;
Type = type;
}
}
}