mirror of
https://gitee.com/ant-design-blazor/ant-design-blazor.git
synced 2024-12-14 08:51:27 +08:00
b22f9495f4
* 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>
17 lines
341 B
C#
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;
|
|
}
|
|
}
|
|
}
|