wired up JavaScript support in Module Creator templates

This commit is contained in:
Shaun Walker
2020-08-27 17:16:54 -04:00
parent bb21eba39f
commit 4aa0b83807
6 changed files with 44 additions and 4 deletions

View File

@ -0,0 +1,15 @@
using Microsoft.JSInterop;
using System.Threading.Tasks;
namespace [Owner].[Module]
{
public class Interop
{
private readonly IJSRuntime _jsRuntime;
public Interop(IJSRuntime jsRuntime)
{
_jsRuntime = jsRuntime;
}
}
}