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

Where is the API? and many documentation missing #3637

Open
remybonnav opened this issue Nov 15, 2022 · 2 comments
Open

Where is the API? and many documentation missing #3637

remybonnav opened this issue Nov 15, 2022 · 2 comments

Comments

@remybonnav
Copy link

Hi,

The documentation is missing a lot of important infos.
For example, the "Style" section https://ipywidgets.readthedocs.io/en/8.0.2/examples/Widget%20Styling.html
I could not find what are the values required for each attribute of style (example : what should we enter for description_width?

I could find that style = {'description_width': 'initial'} could be used for example but it was in the section layout.

It would really helpful for beginners to have access to the API because otherwise you mostly have to search on stack overflow for answers.
Is there an API somewhere?
Thanks a lot for your help.

@jasongrout
Copy link
Member

Good point. We should state in the documentation that any value in the style attributes is a CSS value, and refer people to the browser's CSS documentation. In this case, for a width value, see https://developer.mozilla.org/en-US/docs/Web/CSS/width

@bollwyvl
Copy link
Contributor

bollwyvl commented Jan 23, 2023

Added in #3673. Have a look here: https://ipywidgets.readthedocs.io/en/latest/reference/index.html

It may not have the exhaustive list of css attributes, however.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants