Learn R Programming

shinyWidgets (version 0.8.6)

animateOptions: Animate options

Description

Animate options

Usage

animateOptions(enter = "fadeInDown", exit = "fadeOutUp", duration = 1)

Value

a list

Arguments

enter

Animation name on appearance

exit

Animation name on disappearance

duration

Duration of the animation

See Also

animations

Examples

Run this code
## 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)
)

}

Run the code above in your browser using DataLab