animateOptions: Animate options

View source: R/sw-dropdown.R

animateOptionsR Documentation

Animate options

Description

Animate options

Usage

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

Arguments

enter

Animation name on appearance

exit

Animation name on disappearance

duration

Duration of the animation

Value

a list

See Also

animations

Examples

## 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)
)

}

shinyWidgets documentation built on Sept. 23, 2024, 9:07 a.m.