File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 17
17
}
18
18
},
19
19
"source" : [
20
- " # Building a Custom Widget - Email widget"
20
+ " # Building a Custom Widget - Email widget"
21
21
]
22
22
},
23
23
{
236
236
" \n " ,
237
237
" \n " ,
238
238
" @register\n " ,
239
- " class EmailWidget (DOMWidget, ValueWidget):\n " ,
239
+ " class Email (DOMWidget, ValueWidget):\n " ,
240
240
" _model_name = Unicode('EmailModel').tag(sync=True)\n " ,
241
241
" _model_module = Unicode(module_name).tag(sync=True)\n " ,
242
242
" _model_module_version = Unicode(module_version).tag(sync=True)\n " ,
260
260
" To:\n " ,
261
261
" \n " ,
262
262
" ```python\n " ,
263
- " from .example import EmailWidget \n " ,
263
+ " from .example import Email \n " ,
264
264
" ```"
265
265
]
266
266
},
472
472
" You should be able to display your widget just like any other widget now:\n " ,
473
473
" \n " ,
474
474
" ```python\n " ,
475
- " from ipyemail import EmailWidget \n " ,
475
+ " from ipyemail import Email \n " ,
476
476
" \n " ,
477
- " EmailWidget ()\n " ,
477
+ " Email ()\n " ,
478
478
" ```"
479
479
]
480
480
},
You can’t perform that action at this time.
0 commit comments