【发布时间】:2016-10-26 00:53:24
【问题描述】:
使用下面的代码块,我在我的 Shiny 应用程序中添加了一个加载图标。但是,它仅在我在 Web 浏览器中打开应用程序时才显示图标,而不是在我仅在 Rstudio 中运行它时显示。有没有办法可以改变它,让它出现在两个界面中?
谢谢!
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"),
【问题讨论】:
标签: r shiny shiny-server