fade_in_top_right {vov}R Documentation

Fade in top right

Description

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

Usage

fade_in_top_right(
  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_right(
      h1("Hello world!")
    )
  )

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

  shinyApp(ui, server)
}

[Package vov version 0.1.2 Index]