2020-03-10 15:25:29 +08:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Text;
|
|
|
|
|
|
|
|
|
|
namespace AntBlazor
|
|
|
|
|
{
|
|
|
|
|
public static class JSInteropConstants
|
|
|
|
|
{
|
|
|
|
|
public 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 antMatchMedia => $"{FUNC_PREFIX}antMatchMedia";
|
|
|
|
|
|
|
|
|
|
public static string copy => $"{FUNC_PREFIX}copy";
|
2020-03-12 13:00:54 +08:00
|
|
|
|
|
|
|
|
|
public static string log => $"{FUNC_PREFIX}log";
|
2020-03-10 15:25:29 +08:00
|
|
|
|
}
|
|
|
|
|
}
|