There is the widget cookiecutter templates to generate a package containing a simple custom widget that works in both notebook and lab:
https://github.com/jupyter-widgets/widget-ts-cookiecutter You're right that the custom widget in the docs does not work in JupyterLab. I think it probably makes sense to maybe remove it in favor of using something like the cookiecutter. Thanks, Jason On Saturday, May 19, 2018 at 8:43:26 AM UTC-7, John wrote: > > Is there a version of "Hello World" custom widget example for jupyterlab. > The jupyter notebook documentation provides this "Hello World" custom > widget but it uses requirejs which is not supported by jupyterlab. > > http://ipywidgets.readthedocs.io/en/latest/examples/Widget%20Custom.html > > Is there any documentation on how to get a custom widget for jupyter > notebook such as this "Hello World" example to work in jupyterlab. > > > -- You received this message because you are subscribed to the Google Groups "Project Jupyter" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter/c8c248cd-963a-42fc-be8a-95f02ca090a2%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
