2020-03-10 15:25:29 +08:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Text;
|
|
|
|
|
|
|
|
|
|
namespace AntBlazor
|
|
|
|
|
{
|
|
|
|
|
public static class JSInteropConstants
|
|
|
|
|
{
|
2020-03-15 23:54:48 +08:00
|
|
|
|
private const string FUNC_PREFIX = "antBlazor.interop.";
|
2020-03-10 15:25:29 +08:00
|
|
|
|
|
|
|
|
|
public static string getDomInfo => $"{FUNC_PREFIX}getDomInfo";
|
|
|
|
|
|
|
|
|
|
public static string getBoundingClientRect => $"{FUNC_PREFIX}getBoundingClientRect";
|
|
|
|
|
|
|
|
|
|
public static string addDomEventListener => $"{FUNC_PREFIX}addDomEventListener";
|
|
|
|
|
|
2020-03-15 23:54:48 +08:00
|
|
|
|
public static string matchMedia => $"{FUNC_PREFIX}matchMedia";
|
2020-03-10 15:25:29 +08:00
|
|
|
|
|
|
|
|
|
public static string copy => $"{FUNC_PREFIX}copy";
|
2020-03-12 13:00:54 +08:00
|
|
|
|
|
|
|
|
|
public static string log => $"{FUNC_PREFIX}log";
|
2020-03-25 00:32:26 +08:00
|
|
|
|
|
|
|
|
|
public static string focus => $"{FUNC_PREFIX}focus";
|
|
|
|
|
|
|
|
|
|
public static string blur => $"{FUNC_PREFIX}blur";
|
2020-03-27 17:24:16 +08:00
|
|
|
|
public static string backTop => $"{FUNC_PREFIX}BackTop";
|
2020-03-10 15:25:29 +08:00
|
|
|
|
}
|
|
|
|
|
}
|