wut-web-dev cruft input tests
parent
8748eb120c
commit
aeea88756e
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue