mirror of
https://gitee.com/ant-design-blazor/ant-design-blazor.git
synced 2024-12-15 17:31:42 +08:00
cf2a0785d6
* 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
28 lines
847 B
C#
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";
|
|
}
|
|
} |