wut-web-dev cruft input tests

master
ml server 2020-01-23 14:38:09 -07:00
parent 8748eb120c
commit aeea88756e
1 changed files with 25 additions and 0 deletions

View File

@ -490,6 +490,31 @@
"print('meh2')"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"outputText = widgets.Text()\n",
"outputText"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"inputText = widgets.Text()\n",
"\n",
"def makeUpperCase(sender):\n",
" outputText.value = inputText.value.upper()\n",
"\n",
"inputText.on_submit(makeUpperCase)\n",
"inputText"
]
},
{
"cell_type": "code",
"execution_count": null,