JohnCoene / waiter

🕰️ Loading screens for Shiny
https://waiter.john-coene.com/
Other
495 stars 25 forks source link

hostess_loader #120

Closed joshuajdthompson closed 2 years ago

joshuajdthompson commented 2 years ago

Just noticed that the hostess_loader preset "bubble" does not work. It defaults to "circle".

joshuajdthompson commented 2 years ago

was there any resolution on this? I can't seem to get the bubble to show:

hostess_loader(
                   "loader", 
                   preset = "bubble",
                   stroke_color = "#0c7444",
                   text_color = "black",
                   class = "label-center",
                   center_page = TRUE
                 )
JohnCoene commented 2 years ago

Sorry, pushed a fix

joshuajdthompson commented 1 year ago

This still does not work for me.

khammami commented 1 year ago

Hi @joshuajdthompson

You need to add progress_type="fill" otherwise it will take stroke by default that explain why you get a circle instead.

waiterShowOnLoad(
      color = "#f7fff7",
      hostess_loader(
        "loader", 
        preset = "bubble", 
        text_color = "black",
        class = "label-center",
        progress_type = "fill",
        center_page = TRUE
      )
    )

it need to be added in docs