docs: Apply miscellaneous fixes to deephaven.ui docs#1162
Conversation
|
ui docs preview (Available for 14 days) |
|
ui docs preview (Available for 14 days) |
|
|
||
| ```python | ||
| my_button = ui.button("Click Me!", on_press=lambda e: print(f"Button was clicked! {e}")) | ||
| my_button = ui.button("Click Me!", on_press=lambda e: print(f"Button was clicked!")) |
There was a problem hiding this comment.
Including the event data was intentional to show that what it contains.
There was a problem hiding this comment.
The code is out-of-sync with the image. So then the image is the issue?
There was a problem hiding this comment.
You are right, I retract this comment.
There was a problem hiding this comment.
This brings up a good point though. This section is called "Handling events". I think we should either fix the SS to match original code or delete the section. Agree?
Btw, feel free to push whatever you want to this branch. Last time I added images, it was strangely small.
There was a problem hiding this comment.
I've reverted the code change and added a SS. Despite my efforts, this SS looks diff than the others, mainly I guess b/c of differences in dh.ui defaults from then and now (button coloring and positioning).
I'm not going to go through dh.ui docs and update the rest of the SS's, so I'll let you decide what you want to do.
Co-authored-by: margaretkennedy <82049573+margaretkennedy@users.noreply.github.com> Co-authored-by: Don <donmckenzie@deephaven.io>
|
ui docs preview (Available for 14 days) |
|
ui docs preview (Available for 14 days) |
No description provided.