public static ValueTask <long> GetDateMilliseconds() { BWHelperFunctions.CheckHasJsRuntime(); return(BWHWindowHelper.jsRuntime.InvokeAsync <long>( "BWHJsFunctions.GetDateMilliseconds")); }
public static ValueTask <bool> SetOnOrOff(bool OnOrOff) { BWHelperFunctions.CheckHasJsRuntime(); return(BWHWindowHelper.jsRuntime.InvokeAsync <bool>( "BWHJsFunctions.setOnOrOff", OnOrOff)); }
public static ValueTask <int> GetTimezoneOffset() { BWHelperFunctions.CheckHasJsRuntime(); return(BWHWindowHelper.jsRuntime.InvokeAsync <int>( "BWHJsFunctions.GetTimezoneOffset")); }
public static ValueTask <bool> Print() { BWHelperFunctions.CheckHasJsRuntime(); return(BWHWindowHelper.jsRuntime.InvokeAsync <bool>( "BWHJsFunctions.Print")); }
public static ValueTask <bool> LogWithTime(string message) { BWHelperFunctions.CheckHasJsRuntime(); return(BWHWindowHelper.jsRuntime.InvokeAsync <bool>( "BWHJsFunctions.logWithTime", message)); }
public static ValueTask <string> Prompt(string message) { BWHelperFunctions.CheckHasJsRuntime(); return(BWHWindowHelper.jsRuntime.InvokeAsync <string>( "BWHJsFunctions.showPrompt", message)); }
public static ValueTask <bool> Clear() { BWHelperFunctions.CheckHasJsRuntime(); return(BWHWindowHelper.jsRuntime.InvokeAsync <bool>("BWHJsFunctions.ClearLocalStorage")); }
public static ValueTask <bool> RemoveItem(string key) { BWHelperFunctions.CheckHasJsRuntime(); return(BWHWindowHelper.jsRuntime.InvokeAsync <bool>( "BWHJsFunctions.RemoveItemLocalStorage", key)); }
public static ValueTask <double> GetElementActualTop(string elementID) { BWHelperFunctions.CheckHasJsRuntime(); return(BWHWindowHelper.jsRuntime.InvokeAsync <double>( "BWHJsFunctions.GetElementActualTop", elementID)); }
public static ValueTask SetFocus(string id) { BWHelperFunctions.CheckHasJsRuntime(); return(BWHWindowHelper.jsRuntime.InvokeVoidAsync( "BWHJsFunctions.SetFocus", id)); }
public static ValueTask <double> GetWindowHeight() { BWHelperFunctions.CheckHasJsRuntime(); return(BWHWindowHelper.jsRuntime.InvokeAsync <double>( "BWHJsFunctions.GetWindowHeight")); }
public static void SetElementHeight(string elementID, int h) { BWHelperFunctions.CheckHasJsRuntime(); BWHWindowHelper.jsRuntime.InvokeVoidAsync( "BWHJsFunctions.SetElementHeight", elementID, h); }
public static void SetElementWidth(string elementID, int w) { BWHelperFunctions.CheckHasJsRuntime(); BWHWindowHelper.jsRuntime.InvokeVoidAsync( "BWHJsFunctions.SetElementWidth", elementID, w); }
public static void ClearConsole() { BWHelperFunctions.CheckHasJsRuntime(); BWHWindowHelper.jsRuntime.InvokeVoidAsync( "BWHJsFunctions.ClearConsole"); }