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 ‘shinyLottie’ package allows users to easily integrate and control ‘Lottie’ animations within ‘shiny’ applications, without the need for idiosyncratic expression or use of ‘JavaScript’. This includes utilities for generating animation instances, controlling playback, manipulating animation properties, and more.
You can install the development version of ‘shinyLottie’ from GitHub with:
# install.packages("devtools")
::install_github("CamHowitt/shinyLottie") devtools
Introducing ‘Lottie’ animations to a ‘shiny’ app can be accomplished using just two ‘shinyLottie’ functions:
library(shiny)
library(shinyLottie)
<- fluidPage(
ui include_lottie(),
lottie_animation(
path = "shinyLottie/example.json",
name = "my_animation"
)
)
<- function(input, output, session) {}
server
shinyApp(ui, server)
For more advanced implementations, please refer to the following articles:
vignette("shinyLottie")
vignette("Controlling-Animations")
vignette("Event-Listeners")
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.