Web API package for use when compling Go to WASM
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

39 lines
649 B

{
"Type": "CustomElementRegistry",
"ImportJS": true,
"GlobalAPI": "customElements",
"Functions": [
{
"Name": "define",
"Arguments": [
{
"Name": "name",
"Type": "string"
},
{
"Name": "constructor",
"Type": "interface{}"
}
]
},
{
"Name": "get",
"Arguments": [
{
"Name": "name",
"Type": "string"
}
]
},
{
"Name": "whenDefined",
"Arguments": [
{
"Name": "name",
"Type": "string"
}
],
"ReturnType": "*Promise"
}
]
}