dashR icon indicating copy to clipboard operation
dashR copied to clipboard

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

Open daattali opened this issue 4 years ago • 1 comments

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 avatar Jun 01 '21 20:06 daattali

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

daattali avatar Jun 01 '21 20:06 daattali