Skip to content

Commit 2a1bc46

Browse files
committed
Added an overload "Define" to the "CustomElementRegistry".
1 parent ec74ac2 commit 2a1bc46

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
using CSharpToJavaScript.APIs.JS.Ecma;
2+
using CSharpToJavaScript.Utils;
3+
using System;
4+
5+
namespace CSharpToJavaScript.APIs.JS;
6+
7+
[To(ToAttribute.FirstCharToLowerCase)]
8+
public partial class CustomElementRegistry
9+
{
10+
[GenericAsArgument]
11+
public GlobalObject.Undefined Define<C>(string name) { throw new NotImplementedException(); }
12+
}

0 commit comments

Comments
 (0)