Skip to content

Using ipywidgets with standalone cell view/output #3946

@krassowski

Description

@krassowski

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?

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions