Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

viewList + create_child_view #1

Open
ianhi opened this issue Jun 27, 2020 · 3 comments
Open

viewList + create_child_view #1

ianhi opened this issue Jun 27, 2020 · 3 comments

Comments

@ianhi
Copy link
Owner

ianhi commented Jun 27, 2020

gotta add widgets.viewList and create_child_view

@ianhi
Copy link
Owner Author

ianhi commented Jun 27, 2020

see https://github.com/QuantStack/ipycytoscape/pull/104/files for an understanding of why these are useful

@ianhi
Copy link
Owner Author

ianhi commented Jun 28, 2020

defined here: https://github.com/jupyter-widgets/ipywidgets/blob/c56520aae138a132eb59bc58e0921f35e6f59cc2/packages/base/src/widget.ts#L709-L717

basically it calls the widgetView consutrcotr with hte options arguments:

options = { parent: this, ...options }; where the initial value of options is what is passed to the create_child_view

@ianhi
Copy link
Owner Author

ianhi commented Jun 28, 2020

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant