swivel_horizontal_double {vov}R Documentation

Swivel horizontal double

Description

Animation to swivel a UI element horizontally, twice.

Usage

swivel_horizontal_double(
  ui,
  duration = NULL,
  delay = NULL,
  steps = NULL,
  iteration = NULL
)

Arguments

ui

A UI element

duration

Duration of animation

delay

Delay in seconds before animation starts

steps

Animation steps

iteration

Iteration of animation

Details

Examples

if (interactive()) {
  library(shiny)
  library(vov)

  ui <- fluidPage(
    use_vov(),
    swivel_horizontal_double(
      h1("Hello world!")
    )
  )

  server <- function(input, output, session) {}

  shinyApp(ui, server)
}

[Package vov version 0.1.2 Index]