fade_in_top_left {vov}R Documentation

Fade in top left

Description

Animation to fade in a UI element from the top left.

Usage

fade_in_top_left(
  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(),
    fade_in_top_left(
      h1("Hello world!")
    )
  )

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

  shinyApp(ui, server)
}

[Package vov version 0.1.2 Index]