Skip to content

Expose AnyView object to widget.render() #193

@Aldlevine

Description

@Aldlevine

This solution is no longer possible since 0.5.0 because the raw AnyView object is no longer exposed to the render() callback (it's now being filtered by extract_context).

Because of this, I see no good way to build a container widget (my current effort). I would like to use AnyWidget to bootstrap my project, but without access to the lower level ipywidgets stuff, I don't think it's feasible.

I can happily submit a PR to expose the AnyView object. My local version is exposing it as another property on the result of extract_context: e.g. return { model, el: view.el, view};

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions