animation: Define an animation

View source: R/conditionalJS.R

animationR Documentation

Define an animation

Description

Creates an 'animation' object for usage in runAnimation.

Usage

animation(effect, delay = 0, duration = 1000)

Arguments

effect

Animation effect used name to be applied. Check .cssEffects object for possible options.

delay

Delay of animation start (in milliseconds).

duration

Duration of animation (in milliseconds).

Value

A named list with class 'animation'.


shinyGizmo documentation built on March 7, 2023, 7:31 p.m.