Skip to content

Commit 9afe294

Browse files
author
Zerline
committed
A test file for tooltips and focus.
1 parent f5db6e8 commit 9afe294

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

Diff for: tests/test_tooltip.ipynb

+7-7
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
"metadata": {},
77
"outputs": [],
88
"source": [
9-
"from unit_widgets import *\n",
10-
"t = TextUnit(\"ok\")\n",
9+
"from singleton_widgets import *\n",
10+
"t = TextSingleton(\"ok\")\n",
1111
"t"
1212
]
1313
},
@@ -26,7 +26,7 @@
2626
"metadata": {},
2727
"outputs": [],
2828
"source": [
29-
"ta = TextareaUnit(\"ok\")\n",
29+
"ta = TextareaSingleton(\"ok\")\n",
3030
"ta"
3131
]
3232
},
@@ -45,7 +45,7 @@
4545
"metadata": {},
4646
"outputs": [],
4747
"source": [
48-
"c = ComboboxUnit()\n",
48+
"c = ComboboxSingleton()\n",
4949
"c"
5050
]
5151
},
@@ -112,7 +112,7 @@
112112
"metadata": {},
113113
"outputs": [],
114114
"source": [
115-
"x = TextUnit(\"2\")\n",
115+
"x = TextSingleton(\"2\")\n",
116116
"#x"
117117
]
118118
},
@@ -122,7 +122,7 @@
122122
"metadata": {},
123123
"outputs": [],
124124
"source": [
125-
"d = DropdownUnit(options=['1', '2'])\n",
125+
"d = DropdownSingleton(options=['1', '2'])\n",
126126
"d"
127127
]
128128
},
@@ -141,7 +141,7 @@
141141
"metadata": {},
142142
"outputs": [],
143143
"source": [
144-
"b = ToggleButtonUnit(description=\"ok\")\n",
144+
"b = ToggleButtonSingleton(description=\"ok\")\n",
145145
"b"
146146
]
147147
},

0 commit comments

Comments
 (0)