【发布时间】:2016-09-25 00:16:00
【问题描述】:
我在闪亮的 ui 部分中添加什么会使我的#loadmessage 闪烁?我见过这样的事情
How to make blinking/flashing text with css3?
但是,我不确定如何在 R 中实现这一点。
我的 ui 代码中有以下加载功能:
tags$head(tags$style(type="text/css",
"#loadmessage {
position: fixed;
top: 50%;
left: 50%;
ocacity: 0.50;
opacity: 0.0;
text-align: center;
font-weight: bold;
font-size: 300%;
color: #000000;
z-index: 105;
}"))
conditionalPanel(condition="$('html').hasClass('shiny-busy')",tags$div("Loading...",id="loadmessage"))
【问题讨论】: