33 lines
757 B
JSON
33 lines
757 B
JSON
{
|
|
"source": "JSON",
|
|
"data": "BLOCK",
|
|
"version": "0.0.1",
|
|
"type": "title",
|
|
"language": "javascript",
|
|
"extension": "webaudio",
|
|
"help": "Window Title",
|
|
"label": "Title",
|
|
"color": "50:150:250:150",
|
|
"group": "GUI",
|
|
"codes": {
|
|
"declaration": "\nvar $port[title]$ = function(value){\n window.document.title = value;\n return 1;\n}\n",
|
|
"onload": "\n$port[title]$('$prop[title]$');\n \n"
|
|
},
|
|
"properties": [
|
|
{
|
|
"name": "title",
|
|
"label": "Value",
|
|
"type": "String",
|
|
"value": "Mosaicode - Document Title"
|
|
}
|
|
],
|
|
"ports": [
|
|
{
|
|
"type": "mosaicode_lib_javascript_webaudio.extensions.ports.string",
|
|
"label": "Value",
|
|
"conn_type": "Input",
|
|
"name": "title"
|
|
}
|
|
]
|
|
}
|