using the code chunk below I've added a loading icon to my Shiny app. However, it only shows the icon when I've opened the app within my web browser and not when I'm just running it within Rstudio. Is there a way I can change this so it appears in both interfaces?
Thanks!
tagList(
tags$head(
tags$link(rel="stylesheet", type="text/css",href="style.css"),
tags$script(type="text/javascript", src = "busy.js")
)
),
div(class = "busy",
p("Calculation in progress.."),
img(src="https://media.giphy.com/media/3oEjI6SIIHBdRxXI40/giphy.gif")
),
plotOutput("distPlot"),