snehilvj / dmc-docs

Documentation for Dash Mantine Components library.
https://github.com/snehilvj/dash-mantine-components
MIT License
58 stars 19 forks source link

🌠 added a custom_loadingoverlay example #83

Closed pip-install-python closed 1 month ago

pip-install-python commented 1 month ago

example_video_editor

added an example for a custom dmc.LoadingOverlay

AnnMarieW commented 1 month ago

Hi @pip-install-python

Thanks for the PR! This will be a nice addition :slightly_smiling_face:

To promote dmc more, it would be cool if you used the dmc.Image component instead of html.Img Also would you like to use one of the dmc charts? You could use the sample data shown in the docs, then we wouldn't need to add the numpy and dependency.

pip-install-python commented 1 month ago

I made those changes, using dmc.Image and used a dmc chart, also made the loading .gif more cute 🐌

pip-install-python commented 1 month ago
Screenshot 2024-10-04 at 12 04 48 PM

Feel like we could make this section in the Keyword Arguments a bit more descriptive to show the 4 options available in the dictionary, wasn't sure how to go about it though.

Like how to edit the .. kwargs::LoadingOverlay

pip-install-python commented 1 month ago
Screenshot 2024-10-04 at 12 07 26 PM Screenshot 2024-10-04 at 12 07 46 PM

also figure it was worth mentioning, it seems like all LoadingOverlays clip into the navbar when scrolled to a certain point, very small bug but figured I'd mention and show some examples.

AnnMarieW commented 1 month ago

nice catch catch on the duplicate id!

AnnMarieW commented 1 month ago

Awesome! Thanks!

:woman_dancing: