-
-
Notifications
You must be signed in to change notification settings - Fork 41
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
Define layouts in Dash.jl in same manner as Dash for Python and R #1
Comments
In python If we can make the interface version as close as possible to Python and R, and also using the advantages of Julia to give additional features to the user, then why not do it? |
In fact, maybe I can implement app. layout = ... without having to make the entire structure mutable, but this requires an experiment. So we need a choice - do we implement it as a property, or as a method,or both? |
It's true that In this case, if a mutable struct will enable application developers to specify If it's possible to provide the As for |
I agree with it. I think it's important that a person who has worked with Dash in Python can work with it in Julia or R with minimal cost. |
The following options are available in the master:
|
Great, I'm sure more experienced Julia users will appreciate the additional options you've provided, and Thanks for taking care of these elements, I'm going to close this issue now! 🚀 |
In Python, the
app
object has alayout
method, for example:In R, the syntax is nearly identical, with minor differences when declaring lists vs. dicts, and omission of dots within function names (e.g.
dccInput
instead ofdcc.Input
). In Julia, the layout is implicit when declaring theapp
object:layout
in Dash for Julia which mimics that of the Python and R versions, and separate this from the initial declaration ofapp
.layout
, remove 🔪layout_maker
functionlayout_get
method within theDash
struct in Dash.jlThe text was updated successfully, but these errors were encountered: