Description Usage Arguments Details Examples
Enables hover by including the CSS file necessary for the animations.
| 1 | 
| popback | If true, buttons 'pop back', contrary to default shiny behavior. | 
By default, shiny buttons don't 'pop back'. This is for accessibility reasons. For more information see here: https://github.com/rstudio/shiny/issues/2500.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | if (interactive()) {
  library(shiny)
  library(hover)
  ui <- fluidPage(
    use_hover(),
    hover_action_button(
      inputId = "btn",
      label = "hello hover!",
      icon = icon("refresh"),
      button_animation = "rotate",
      icon_animation = "spin"
    )
  )
  server <- function(input, output, session) {
  }
  shinyApp(ui, server)
}
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.