The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.
The goal of hover is to add animations to
shiny::actionButton
, shiny::downloadButton
,
and shiny::icon
using Hover.css. Additionally, a
button to refresh web browser is also included.
Install the released version of hover
from CRAN:
install.packages("hover")
Or install the development version from GitHub with:
# install.packages("devtools")
devtools::install_github("r4fun/hover")
Animate a button and icon by providing the animation name:
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)
The hover
package essentially takes the
shiny::actionButton
source code and applies the necessary
Hover.css classes to make things move.
This package was built using the following tools:
Without these, this package wouldn’t have been possible.
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.