ant-design-blazor/components/core/JsInterop/JSInteropConstants.cs
GarvinTan cf2a0785d6 feat: add back-top (#53)
* feat : add back to top

* Feat: update back-to-top onclick interop

* feat: append back-top class setter

* feat: update back-tp classMapper

* feat: update back-top dom architecture
2020-03-27 17:24:16 +08:00

28 lines
847 B
C#

using System;
using System.Collections.Generic;
using System.Text;
namespace AntBlazor
{
public static class JSInteropConstants
{
private const string FUNC_PREFIX = "antBlazor.interop.";
public static string getDomInfo => $"{FUNC_PREFIX}getDomInfo";
public static string getBoundingClientRect => $"{FUNC_PREFIX}getBoundingClientRect";
public static string addDomEventListener => $"{FUNC_PREFIX}addDomEventListener";
public static string matchMedia => $"{FUNC_PREFIX}matchMedia";
public static string copy => $"{FUNC_PREFIX}copy";
public static string log => $"{FUNC_PREFIX}log";
public static string focus => $"{FUNC_PREFIX}focus";
public static string blur => $"{FUNC_PREFIX}blur";
public static string backTop => $"{FUNC_PREFIX}BackTop";
}
}