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

Sugestion: where it makes sense, functions of the Dash R6 class should invisibly return self #256

Open
daattali opened this issue Jun 1, 2021 · 1 comment

Comments

@daattali
Copy link
Contributor

daattali commented Jun 1, 2021

This would allow chaining, and I fail to see any reason not return the object.

For example, Dash$new()$layout(htmlDiv("test"))$run_server() feels like something that should be possible and is very convenient for quick tests, but it's not currently possible

@daattali
Copy link
Contributor Author

daattali commented Jun 1, 2021

The suggestion is that after this line the last line of the function would be invisible(self)

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