小编Dee*_*e V的帖子

仅在悬停时显示文本

我正在开发一个闪亮的应用程序,其中我只想在悬停或鼠标悬停操作时进行文本输出

我尝试添加一个操作按钮

用户界面:

fluidRow(box (title = p("Rates by Gender and Race", actionButton("titleBtId", "", icon=icon('question-circle'),class = "btn-xs", title = "Info"),textOutput("text_id"),hover=T), width = 15, status = 'primary', solidHeader = TRUE,tabPanel('',plotlyOutput("racegender",height = "100%"))%>% withSpinner(color="#0dc5c1")))
Run Code Online (Sandbox Code Playgroud)

服务器:

output$text_id <- renderText({
  paste0("hi")
})
Run Code Online (Sandbox Code Playgroud)

我不确定如何编辑它以仅在悬停时显示文本

javascript r hover shiny

1
推荐指数
1
解决办法
5393
查看次数

标签 统计

hover ×1

javascript ×1

r ×1

shiny ×1