animateOptions | R Documentation |
Animate options
animateOptions(enter = "fadeInDown", exit = "fadeOutUp", duration = 1)
enter |
Animation name on appearance |
exit |
Animation name on disappearance |
duration |
Duration of the animation |
a list
animations
## Only run examples in interactive R sessions
if (interactive()) {
dropdown(
"Your contents goes here ! You can pass several elements",
circle = TRUE, status = "danger", icon = icon("gear"), width = "300px",
animate = animateOptions(enter = "fadeInDown", exit = "fadeOutUp", duration = 3)
)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.