I apologize if there is an obvious answer - I am a programming novice.
Is there a place I can access more in depth documentation for Dash or do I need to look deeper in to source code and use available examples?
An example of my problem is that I looked at the Dash html doc-string for e.g. html.Div using my IDE and I can see that there are argument descriptions but I don’t know what the values should be. e.g.
“- draggable (string; optional): Defines whether the element can be dragged.”
I am guessing this is “True” or “False” but is there a quick way of looking this sort of stuff up instead of guessing appropriate arguments.
My guess to the answer is ‘no’ given that Dash is fairly new but I would like to check.
If you’re using HTML components, then you also access to properties like style, class, and id. All of these attributes are available in the Python classes.
The HTML elements and Dash classes are mostly the same but there are a few key differences:
The style property is a dictionary
Properties in the style dictionary are camelCased
The class key is renamed as className
Style properties in pixel units can be supplied as just numbers without the px unit
For dash_core_components.Graph, the syntax of the figure matches that of the plotly.py library and the plotly.js library. So, any examples that you see in Plotly Python Graphing Library apply and all of the available attributes can be found in Single-page reference in Python
These key value pairs in the style property can be found in any CSS tutorial online, they aren’t in the Dash documentation (yet). The community has been compiling some nice resources for this here: CSS and HTML Stylesheet Resources - #5 by chriddyp