Skip to content

Commit 6152f7e

Browse files
committed
Update EmailWidget to Email
1 parent d01da4d commit 6152f7e

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/source/examples/Widget Custom.ipynb

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
}
1818
},
1919
"source": [
20-
"# Building a Custom Widget - Email widget"
20+
"# Building a Custom Widget - Email widget"
2121
]
2222
},
2323
{
@@ -236,7 +236,7 @@
236236
"\n",
237237
"\n",
238238
"@register\n",
239-
"class EmailWidget(DOMWidget, ValueWidget):\n",
239+
"class Email(DOMWidget, ValueWidget):\n",
240240
" _model_name = Unicode('EmailModel').tag(sync=True)\n",
241241
" _model_module = Unicode(module_name).tag(sync=True)\n",
242242
" _model_module_version = Unicode(module_version).tag(sync=True)\n",
@@ -260,7 +260,7 @@
260260
"To:\n",
261261
"\n",
262262
"```python\n",
263-
"from .example import EmailWidget\n",
263+
"from .example import Email\n",
264264
"```"
265265
]
266266
},
@@ -472,9 +472,9 @@
472472
"You should be able to display your widget just like any other widget now:\n",
473473
"\n",
474474
"```python\n",
475-
"from ipyemail import EmailWidget\n",
475+
"from ipyemail import Email\n",
476476
"\n",
477-
"EmailWidget()\n",
477+
"Email()\n",
478478
"```"
479479
]
480480
},

0 commit comments

Comments
 (0)