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.
 

59 lines
990 B

{
"Type": "Document",
"GlobalAPI": "document",
"ImportJS": true,
"Implements": [
"EventTargetIFace",
"NodeIFace",
"ElementIFace"
],
"Properties": [
{
"Name": "body",
"Type": "*Element",
"ReadOnly": true
}
],
"Functions": [
{
"Name": "createElement",
"Arguments": [
{
"Name": "tagName",
"Type": "string"
}
],
"ReturnType": "*Element"
},
{
"Name": "getElementById",
"Arguments": [
{
"Name": "id",
"Type": "string"
}
],
"ReturnType": "*Element"
},
{
"Name": "getElementsByName",
"Arguments": [
{
"Name": "name",
"Type": "string"
}
],
"ReturnType": "[]*Element"
},
{
"Name": "write",
"Arguments": [
{
"Name": "markup",
"Type": "string"
}
],
"ReturnType": null
}
]
}