throb {vov}R Documentation

Throb

Description

Animation to throb a UI element outward.

Usage

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

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

  shinyApp(ui, server)
}

[Package vov version 0.1.2 Index]