animateOptions: Animate options

Description Usage Arguments Value See Also Examples

View source: R/sw-dropdown.R

Description

Animate options

Usage

1
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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## 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)
)

}

Example output



shinyWidgets documentation built on Sept. 17, 2021, 5:06 p.m.