Open bartekch opened 2 years ago
I want to create an actionButton with tippy inside insertUI, unfortunately I can't get it working. I've tried the following approaches, without success.
actionButton
tippy
insertUI
library(shiny) library(tippy) shinyApp( ui = basicPage( actionButton("add", "Add ui") ), server = function(input, output) { observeEvent(input$add, { insertUI( "#add", "afterEnd", tagList( tippy::tippy( actionButton("button1", "tippy"), "Tooltip 1" ), actionButton("button2", "tippyThis"), tippy::tippyThis("button2", "Tooltip 2") ) ) }) } )
This was tested with version 1.0.0.
1.0.0
In CRAN version 0.0.1 both approaches (their corresponsing versions) seem to work.
0.0.1
library(shiny) library(tippy) shinyApp( ui = basicPage( actionButton("add", "Add ui") ), server = function(input, output) { observeEvent(input$add, { insertUI( "#add", "afterEnd", tagList( tippy::with_tippy( actionButton("button1", "with_tippy working"), "Tooltip 1" ), actionButton("button2", "tippy_this not working"), tippy::tippy_this("button2", "Tooltip 2") ) ) }) } )
Is it possible to add tooltips to elements created by insertUI using tippy 1.0.0?
tippy 1.0.0
I want to create an
actionButton
withtippy
insideinsertUI
, unfortunately I can't get it working. I've tried the following approaches, without success.This was tested with version
1.0.0
.In CRAN version
0.0.1
both approaches (their corresponsing versions) seem to work.Is it possible to add tooltips to elements created by
insertUI
usingtippy 1.0.0
?