-
Notifications
You must be signed in to change notification settings - Fork 952
Open
Description
Problem
It's currently hard to use ipywidgets outside of existing notebook and console widgets. It should not be.
Proposed Solution
Expose registerWidgetHandler
? Generalize it to take Notebook | Console | IDisposable
argument?
ipywidgets/python/jupyterlab_widgets/src/plugin.ts
Lines 168 to 174 in b24fa6b
async function registerWidgetHandler( | |
content: Notebook | CodeConsole, | |
sessionContext: ISessionContext, | |
rendermime: IRenderMimeRegistry, | |
renderers: IterableIterator<WidgetRenderer>, | |
widgetManagerFactory: () => WidgetManager | KernelWidgetManager | |
): Promise<DisposableDelegate> { |
Additional context
Related to jupyterlab/jupyterlab#16227
martinRenou and pplonski
Metadata
Metadata
Assignees
Labels
No labels