You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is the generated API documented anywhere? This would be useful for documenting particular version (if https://developer.mozilla.org changes), as well as documenting the expected parameters.
Guessing valid parameters from the SVG documentation is not always straightforward (for instance Ellipse accepts x and y in addition to the svg-style cx and cy). It also wasn't clear to me when starting out whether all parameters expect strings or if python types would work too (eg if Polygon would accept a list of points like [(0,0), (0,1),...]
The text was updated successfully, but these errors were encountered:
The SVG package is generated using the same tooling as that used to create the Dash core and html packages. The API in each case is defined by the function docstrings. I use VSCODE and python intellisense works well.
There must be python cli tools that can read the package docstrings and spit them out in some other format, html, read the docs, or whatever.
The Dash tooling doesn't currently emit typings, it would be great if it did.
Is the generated API documented anywhere? This would be useful for documenting particular version (if https://developer.mozilla.org changes), as well as documenting the expected parameters.
Guessing valid parameters from the SVG documentation is not always straightforward (for instance Ellipse accepts
x
andy
in addition to the svg-stylecx
andcy
). It also wasn't clear to me when starting out whether all parameters expect strings or if python types would work too (eg ifPolygon
would accept a list of points like[(0,0), (0,1),...]
The text was updated successfully, but these errors were encountered: