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

ReactiveHTML: Make it easy to create widgets that work as Panels widgets #5587

Open
MarcSkovMadsen opened this issue Oct 5, 2023 · 0 comments
Labels
reactivehtml type: enhancement Minor feature or improvement to an existing feature

Comments

@MarcSkovMadsen
Copy link
Collaborator

Sometimes I would like to create a Widget using ReactiveHTML. I would like to be able to use it in exactly the same way as Panel Widgets.

For example I would expect to be able to use .from_param method which I use very often. But I can't as a ReactiveHTML element does not have a .from_param method. If I try to copy the .from_param code from the Widget class it does not work either as a lot of the Panel code makes tests like isinstance(widget, Widget) and my component does not inherit from Widget as I don't know if I can just do this.

@MarcSkovMadsen MarcSkovMadsen added type: enhancement Minor feature or improvement to an existing feature reactivehtml labels Oct 5, 2023
@MarcSkovMadsen MarcSkovMadsen changed the title ReactiveHTML: Make it easy to create Panel widgets via ReactiveHTML ReactiveHTML: Make it easy to create widgets that work as Panels widgets Oct 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
reactivehtml type: enhancement Minor feature or improvement to an existing feature
Projects
None yet
Development

No branches or pull requests

1 participant