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.
 

57 lines
943 B

{
"Type": "document",
"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
}
]
}