Package 'vov'

Title: CSS Animations for 'shiny' Elements
Description: A wrapper around a CSS library called 'vov.css', intended for use in 'shiny' applications. Simply wrap a UI element in one of the animation functions to see it move.
Authors: Tyler Littlefield [aut, cre] (Creator of Shiny Wrapper), Vaibhav Tandon [ctb, cph] (Author of included CSS code), Danube Huynhle [ctb]
Maintainer: Tyler Littlefield <[email protected]>
License: MIT + file LICENSE
Version: 0.1.2
Built: 2024-11-23 03:32:23 UTC
Source: https://github.com/tylerlittlefield/vov

Help Index


Blur in

Description

Animation to blur in a UI element.

Usage

blur_in(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

  • Duration expects one of: "fast" = 800 milliseconds, "faster" = 500 milliseconds, "fastest" = 300 milliseconds, "slow" = 2 seconds, "slower" = 3 seconds, "slowest" = 4 seconds,

  • Delay expects one of: 0, 1, 2, 3, 4, 5, no delay if left NULL

  • Steps expects one of: 10, 20, 30, 40, 50, no steps if left NULL

  • Iteration expects one of: 1, 2, 3, 4, 5, infinite, no iteration if left NULL

Examples

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

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

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

  shinyApp(ui, server)
}

Blur out

Description

Animation to blur out (disappear) a UI element.

Usage

blur_out(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

  • Duration expects one of: "fast" = 800 milliseconds, "faster" = 500 milliseconds, "fastest" = 300 milliseconds, "slow" = 2 seconds, "slower" = 3 seconds, "slowest" = 4 seconds,

  • Delay expects one of: 0, 1, 2, 3, 4, 5, no delay if left NULL

  • Steps expects one of: 10, 20, 30, 40, 50, no steps if left NULL

  • Iteration expects one of: 1, 2, 3, 4, 5, infinite, no iteration if left NULL

Examples

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

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

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

  shinyApp(ui, server)
}

Fade in

Description

Animation to fade in a UI element.

Usage

fade_in(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

  • Duration expects one of: "fast" = 800 milliseconds, "faster" = 500 milliseconds, "fastest" = 300 milliseconds, "slow" = 2 seconds, "slower" = 3 seconds, "slowest" = 4 seconds,

  • Delay expects one of: 0, 1, 2, 3, 4, 5, no delay if left NULL

  • Steps expects one of: 10, 20, 30, 40, 50, no steps if left NULL

  • Iteration expects one of: 1, 2, 3, 4, 5, infinite, no iteration if left NULL

Examples

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

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

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

  shinyApp(ui, server)
}

Fade in bottom left

Description

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

Usage

fade_in_bottom_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

  • Duration expects one of: "fast" = 800 milliseconds, "faster" = 500 milliseconds, "fastest" = 300 milliseconds, "slow" = 2 seconds, "slower" = 3 seconds, "slowest" = 4 seconds,

  • Delay expects one of: 0, 1, 2, 3, 4, 5, no delay if left NULL

  • Steps expects one of: 10, 20, 30, 40, 50, no steps if left NULL

  • Iteration expects one of: 1, 2, 3, 4, 5, infinite, no iteration if left NULL

Examples

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

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

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

  shinyApp(ui, server)
}

Fade in bottom right

Description

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

Usage

fade_in_bottom_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

  • Duration expects one of: "fast" = 800 milliseconds, "faster" = 500 milliseconds, "fastest" = 300 milliseconds, "slow" = 2 seconds, "slower" = 3 seconds, "slowest" = 4 seconds,

  • Delay expects one of: 0, 1, 2, 3, 4, 5, no delay if left NULL

  • Steps expects one of: 10, 20, 30, 40, 50, no steps if left NULL

  • Iteration expects one of: 1, 2, 3, 4, 5, infinite, no iteration if left NULL

Examples

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

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

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

  shinyApp(ui, server)
}

Fade in down

Description

Animation to fade in a UI element downward.

Usage

fade_in_down(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

  • Duration expects one of: "fast" = 800 milliseconds, "faster" = 500 milliseconds, "fastest" = 300 milliseconds, "slow" = 2 seconds, "slower" = 3 seconds, "slowest" = 4 seconds,

  • Delay expects one of: 0, 1, 2, 3, 4, 5, no delay if left NULL

  • Steps expects one of: 10, 20, 30, 40, 50, no steps if left NULL

  • Iteration expects one of: 1, 2, 3, 4, 5, infinite, no iteration if left NULL

Examples

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

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

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

  shinyApp(ui, server)
}

Fade in left

Description

Animation to fade in a UI element from the left.

Usage

fade_in_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

  • Duration expects one of: "fast" = 800 milliseconds, "faster" = 500 milliseconds, "fastest" = 300 milliseconds, "slow" = 2 seconds, "slower" = 3 seconds, "slowest" = 4 seconds,

  • Delay expects one of: 0, 1, 2, 3, 4, 5, no delay if left NULL

  • Steps expects one of: 10, 20, 30, 40, 50, no steps if left NULL

  • Iteration expects one of: 1, 2, 3, 4, 5, infinite, no iteration if left NULL

Examples

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

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

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

  shinyApp(ui, server)
}

Fade in right

Description

Animation to fade in a UI element from the right.

Usage

fade_in_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

  • Duration expects one of: "fast" = 800 milliseconds, "faster" = 500 milliseconds, "fastest" = 300 milliseconds, "slow" = 2 seconds, "slower" = 3 seconds, "slowest" = 4 seconds,

  • Delay expects one of: 0, 1, 2, 3, 4, 5, no delay if left NULL

  • Steps expects one of: 10, 20, 30, 40, 50, no steps if left NULL

  • Iteration expects one of: 1, 2, 3, 4, 5, infinite, no iteration if left NULL

Examples

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

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

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

  shinyApp(ui, server)
}

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

  • Duration expects one of: "fast" = 800 milliseconds, "faster" = 500 milliseconds, "fastest" = 300 milliseconds, "slow" = 2 seconds, "slower" = 3 seconds, "slowest" = 4 seconds,

  • Delay expects one of: 0, 1, 2, 3, 4, 5, no delay if left NULL

  • Steps expects one of: 10, 20, 30, 40, 50, no steps if left NULL

  • Iteration expects one of: 1, 2, 3, 4, 5, infinite, no iteration if left NULL

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)
}

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

  • Duration expects one of: "fast" = 800 milliseconds, "faster" = 500 milliseconds, "fastest" = 300 milliseconds, "slow" = 2 seconds, "slower" = 3 seconds, "slowest" = 4 seconds,

  • Delay expects one of: 0, 1, 2, 3, 4, 5, no delay if left NULL

  • Steps expects one of: 10, 20, 30, 40, 50, no steps if left NULL

  • Iteration expects one of: 1, 2, 3, 4, 5, infinite, no iteration if left NULL

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)
}

Fade in up

Description

Animation to fade in a UI element upward.

Usage

fade_in_up(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

  • Duration expects one of: "fast" = 800 milliseconds, "faster" = 500 milliseconds, "fastest" = 300 milliseconds, "slow" = 2 seconds, "slower" = 3 seconds, "slowest" = 4 seconds,

  • Delay expects one of: 0, 1, 2, 3, 4, 5, no delay if left NULL

  • Steps expects one of: 10, 20, 30, 40, 50, no steps if left NULL

  • Iteration expects one of: 1, 2, 3, 4, 5, infinite, no iteration if left NULL

Examples

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

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

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

  shinyApp(ui, server)
}

Fade out

Description

Animation to fade out (disappear) a UI element.

Usage

fade_out(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

  • Duration expects one of: "fast" = 800 milliseconds, "faster" = 500 milliseconds, "fastest" = 300 milliseconds, "slow" = 2 seconds, "slower" = 3 seconds, "slowest" = 4 seconds,

  • Delay expects one of: 0, 1, 2, 3, 4, 5, no delay if left NULL

  • Steps expects one of: 10, 20, 30, 40, 50, no steps if left NULL

  • Iteration expects one of: 1, 2, 3, 4, 5, infinite, no iteration if left NULL

Examples

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

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

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

  shinyApp(ui, server)
}

Fade out bottom left

Description

Animation to fade out (disappear) a UI element from the bottom left.

Usage

fade_out_bottom_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

  • Duration expects one of: "fast" = 800 milliseconds, "faster" = 500 milliseconds, "fastest" = 300 milliseconds, "slow" = 2 seconds, "slower" = 3 seconds, "slowest" = 4 seconds,

  • Delay expects one of: 0, 1, 2, 3, 4, 5, no delay if left NULL

  • Steps expects one of: 10, 20, 30, 40, 50, no steps if left NULL

  • Iteration expects one of: 1, 2, 3, 4, 5, infinite, no iteration if left NULL

Examples

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

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

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

  shinyApp(ui, server)
}

Fade out bottom right

Description

Animation to fade out (disappear) a UI element from the bottom right

Usage

fade_out_bottom_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

  • Duration expects one of: "fast" = 800 milliseconds, "faster" = 500 milliseconds, "fastest" = 300 milliseconds, "slow" = 2 seconds, "slower" = 3 seconds, "slowest" = 4 seconds,

  • Delay expects one of: 0, 1, 2, 3, 4, 5, no delay if left NULL

  • Steps expects one of: 10, 20, 30, 40, 50, no steps if left NULL

  • Iteration expects one of: 1, 2, 3, 4, 5, infinite, no iteration if left NULL

Examples

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

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

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

  shinyApp(ui, server)
}

Fade out down

Description

Animation to fade out (disappear) a UI element downward.

Usage

fade_out_down(
  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

  • Duration expects one of: "fast" = 800 milliseconds, "faster" = 500 milliseconds, "fastest" = 300 milliseconds, "slow" = 2 seconds, "slower" = 3 seconds, "slowest" = 4 seconds,

  • Delay expects one of: 0, 1, 2, 3, 4, 5, no delay if left NULL

  • Steps expects one of: 10, 20, 30, 40, 50, no steps if left NULL

  • Iteration expects one of: 1, 2, 3, 4, 5, infinite, no iteration if left NULL

Examples

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

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

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

  shinyApp(ui, server)
}

Fade out left

Description

Animation to fade out (disappear) a UI element from the left.

Usage

fade_out_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

  • Duration expects one of: "fast" = 800 milliseconds, "faster" = 500 milliseconds, "fastest" = 300 milliseconds, "slow" = 2 seconds, "slower" = 3 seconds, "slowest" = 4 seconds,

  • Delay expects one of: 0, 1, 2, 3, 4, 5, no delay if left NULL

  • Steps expects one of: 10, 20, 30, 40, 50, no steps if left NULL

  • Iteration expects one of: 1, 2, 3, 4, 5, infinite, no iteration if left NULL

Examples

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

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

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

  shinyApp(ui, server)
}

Fade out right

Description

Animation to fade out (disappear) a UI element from the right.

Usage

fade_out_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

  • Duration expects one of: "fast" = 800 milliseconds, "faster" = 500 milliseconds, "fastest" = 300 milliseconds, "slow" = 2 seconds, "slower" = 3 seconds, "slowest" = 4 seconds,

  • Delay expects one of: 0, 1, 2, 3, 4, 5, no delay if left NULL

  • Steps expects one of: 10, 20, 30, 40, 50, no steps if left NULL

  • Iteration expects one of: 1, 2, 3, 4, 5, infinite, no iteration if left NULL

Examples

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

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

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

  shinyApp(ui, server)
}

Fade out top left

Description

Animation to fade out (disappear) a UI element from the top left.

Usage

fade_out_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

  • Duration expects one of: "fast" = 800 milliseconds, "faster" = 500 milliseconds, "fastest" = 300 milliseconds, "slow" = 2 seconds, "slower" = 3 seconds, "slowest" = 4 seconds,

  • Delay expects one of: 0, 1, 2, 3, 4, 5, no delay if left NULL

  • Steps expects one of: 10, 20, 30, 40, 50, no steps if left NULL

  • Iteration expects one of: 1, 2, 3, 4, 5, infinite, no iteration if left NULL

Examples

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

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

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

  shinyApp(ui, server)
}

Fade out top right

Description

Animation to fade out (disappear) a UI element from the top right.

Usage

fade_out_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

  • Duration expects one of: "fast" = 800 milliseconds, "faster" = 500 milliseconds, "fastest" = 300 milliseconds, "slow" = 2 seconds, "slower" = 3 seconds, "slowest" = 4 seconds,

  • Delay expects one of: 0, 1, 2, 3, 4, 5, no delay if left NULL

  • Steps expects one of: 10, 20, 30, 40, 50, no steps if left NULL

  • Iteration expects one of: 1, 2, 3, 4, 5, infinite, no iteration if left NULL

Examples

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

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

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

  shinyApp(ui, server)
}

Fade out up

Description

Animation to fade out (disappear) a UI element upwards.

Usage

fade_out_up(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

  • Duration expects one of: "fast" = 800 milliseconds, "faster" = 500 milliseconds, "fastest" = 300 milliseconds, "slow" = 2 seconds, "slower" = 3 seconds, "slowest" = 4 seconds,

  • Delay expects one of: 0, 1, 2, 3, 4, 5, no delay if left NULL

  • Steps expects one of: 10, 20, 30, 40, 50, no steps if left NULL

  • Iteration expects one of: 1, 2, 3, 4, 5, infinite, no iteration if left NULL

Examples

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

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

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

  shinyApp(ui, server)
}

Flash

Description

Animation to flash a UI element.

Usage

flash(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

  • Duration expects one of: "fast" = 800 milliseconds, "faster" = 500 milliseconds, "fastest" = 300 milliseconds, "slow" = 2 seconds, "slower" = 3 seconds, "slowest" = 4 seconds,

  • Delay expects one of: 0, 1, 2, 3, 4, 5, no delay if left NULL

  • Steps expects one of: 10, 20, 30, 40, 50, no steps if left NULL

  • Iteration expects one of: 1, 2, 3, 4, 5, infinite, no iteration if left NULL

Examples

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

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

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

  shinyApp(ui, server)
}

I-Throb

Description

Animation to throb a UI element inward.

Usage

i_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

  • Duration expects one of: "fast" = 800 milliseconds, "faster" = 500 milliseconds, "fastest" = 300 milliseconds, "slow" = 2 seconds, "slower" = 3 seconds, "slowest" = 4 seconds,

  • Delay expects one of: 0, 1, 2, 3, 4, 5, no delay if left NULL

  • Steps expects one of: 10, 20, 30, 40, 50, no steps if left NULL

  • Iteration expects one of: 1, 2, 3, 4, 5, infinite, no iteration if left NULL

Examples

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

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

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

  shinyApp(ui, server)
}

Roll in left

Description

Animation to roll in a UI element from the left.

Usage

roll_in_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

  • Duration expects one of: "fast" = 800 milliseconds, "faster" = 500 milliseconds, "fastest" = 300 milliseconds, "slow" = 2 seconds, "slower" = 3 seconds, "slowest" = 4 seconds,

  • Delay expects one of: 0, 1, 2, 3, 4, 5, no delay if left NULL

  • Steps expects one of: 10, 20, 30, 40, 50, no steps if left NULL

  • Iteration expects one of: 1, 2, 3, 4, 5, infinite, no iteration if left NULL

Examples

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

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

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

  shinyApp(ui, server)
}

Roll in right

Description

Animation to roll in a UI element from the right.

Usage

roll_in_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

  • Duration expects one of: "fast" = 800 milliseconds, "faster" = 500 milliseconds, "fastest" = 300 milliseconds, "slow" = 2 seconds, "slower" = 3 seconds, "slowest" = 4 seconds,

  • Delay expects one of: 0, 1, 2, 3, 4, 5, no delay if left NULL

  • Steps expects one of: 10, 20, 30, 40, 50, no steps if left NULL

  • Iteration expects one of: 1, 2, 3, 4, 5, infinite, no iteration if left NULL

Examples

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

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

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

  shinyApp(ui, server)
}

Roll out left

Description

Animation to roll out (disappear) a UI element from the left.

Usage

roll_out_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

  • Duration expects one of: "fast" = 800 milliseconds, "faster" = 500 milliseconds, "fastest" = 300 milliseconds, "slow" = 2 seconds, "slower" = 3 seconds, "slowest" = 4 seconds,

  • Delay expects one of: 0, 1, 2, 3, 4, 5, no delay if left NULL

  • Steps expects one of: 10, 20, 30, 40, 50, no steps if left NULL

  • Iteration expects one of: 1, 2, 3, 4, 5, infinite, no iteration if left NULL

Examples

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

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

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

  shinyApp(ui, server)
}

Roll out right

Description

Animation to roll out (disappear) a UI element from the right.

Usage

roll_out_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

  • Duration expects one of: "fast" = 800 milliseconds, "faster" = 500 milliseconds, "fastest" = 300 milliseconds, "slow" = 2 seconds, "slower" = 3 seconds, "slowest" = 4 seconds,

  • Delay expects one of: 0, 1, 2, 3, 4, 5, no delay if left NULL

  • Steps expects one of: 10, 20, 30, 40, 50, no steps if left NULL

  • Iteration expects one of: 1, 2, 3, 4, 5, infinite, no iteration if left NULL

Examples

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

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

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

  shinyApp(ui, server)
}

Run a demo application

Description

Run a demo version of the app to try out all the animations.

Usage

run_demo()

Examples

if (interactive()) {
  run_demo()
}

Shake diagonally

Description

Animation to shake a UI element diagonally.

Usage

shake_diagonally(
  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

  • Duration expects one of: "fast" = 800 milliseconds, "faster" = 500 milliseconds, "fastest" = 300 milliseconds, "slow" = 2 seconds, "slower" = 3 seconds, "slowest" = 4 seconds,

  • Delay expects one of: 0, 1, 2, 3, 4, 5, no delay if left NULL

  • Steps expects one of: 10, 20, 30, 40, 50, no steps if left NULL

  • Iteration expects one of: 1, 2, 3, 4, 5, infinite, no iteration if left NULL

Examples

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

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

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

  shinyApp(ui, server)
}

Shake horizontal

Description

Animation to shake a UI element horizontally.

Usage

shake_horizontal(
  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

  • Duration expects one of: "fast" = 800 milliseconds, "faster" = 500 milliseconds, "fastest" = 300 milliseconds, "slow" = 2 seconds, "slower" = 3 seconds, "slowest" = 4 seconds,

  • Delay expects one of: 0, 1, 2, 3, 4, 5, no delay if left NULL

  • Steps expects one of: 10, 20, 30, 40, 50, no steps if left NULL

  • Iteration expects one of: 1, 2, 3, 4, 5, infinite, no iteration if left NULL

Examples

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

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

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

  shinyApp(ui, server)
}

Shake diagonally inverse

Description

Animation to shake a UI element diagonally.

Usage

shake_i_diagonally(
  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

  • Duration expects one of: "fast" = 800 milliseconds, "faster" = 500 milliseconds, "fastest" = 300 milliseconds, "slow" = 2 seconds, "slower" = 3 seconds, "slowest" = 4 seconds,

  • Delay expects one of: 0, 1, 2, 3, 4, 5, no delay if left NULL

  • Steps expects one of: 10, 20, 30, 40, 50, no steps if left NULL

  • Iteration expects one of: 1, 2, 3, 4, 5, infinite, no iteration if left NULL

Examples

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

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

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

  shinyApp(ui, server)
}

Shake vertical

Description

Animation to shake a UI element vertically.

Usage

shake_vertical(
  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

  • Duration expects one of: "fast" = 800 milliseconds, "faster" = 500 milliseconds, "fastest" = 300 milliseconds, "slow" = 2 seconds, "slower" = 3 seconds, "slowest" = 4 seconds,

  • Delay expects one of: 0, 1, 2, 3, 4, 5, no delay if left NULL

  • Steps expects one of: 10, 20, 30, 40, 50, no steps if left NULL

  • Iteration expects one of: 1, 2, 3, 4, 5, infinite, no iteration if left NULL

Examples

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

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

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

  shinyApp(ui, server)
}

Slide in down

Description

Animation to slide in a UI element downward.

Usage

slide_in_down(
  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

  • Duration expects one of: "fast" = 800 milliseconds, "faster" = 500 milliseconds, "fastest" = 300 milliseconds, "slow" = 2 seconds, "slower" = 3 seconds, "slowest" = 4 seconds,

  • Delay expects one of: 0, 1, 2, 3, 4, 5, no delay if left NULL

  • Steps expects one of: 10, 20, 30, 40, 50, no steps if left NULL

  • Iteration expects one of: 1, 2, 3, 4, 5, infinite, no iteration if left NULL

Examples

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

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

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

  shinyApp(ui, server)
}

Slide in left

Description

Animation to slide in a UI element from the left.

Usage

slide_in_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

  • Duration expects one of: "fast" = 800 milliseconds, "faster" = 500 milliseconds, "fastest" = 300 milliseconds, "slow" = 2 seconds, "slower" = 3 seconds, "slowest" = 4 seconds,

  • Delay expects one of: 0, 1, 2, 3, 4, 5, no delay if left NULL

  • Steps expects one of: 10, 20, 30, 40, 50, no steps if left NULL

  • Iteration expects one of: 1, 2, 3, 4, 5, infinite, no iteration if left NULL

Examples

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

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

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

  shinyApp(ui, server)
}

Slide in right

Description

Animation to slide in a UI element from the right.

Usage

slide_in_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

  • Duration expects one of: "fast" = 800 milliseconds, "faster" = 500 milliseconds, "fastest" = 300 milliseconds, "slow" = 2 seconds, "slower" = 3 seconds, "slowest" = 4 seconds,

  • Delay expects one of: 0, 1, 2, 3, 4, 5, no delay if left NULL

  • Steps expects one of: 10, 20, 30, 40, 50, no steps if left NULL

  • Iteration expects one of: 1, 2, 3, 4, 5, infinite, no iteration if left NULL

Examples

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

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

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

  shinyApp(ui, server)
}

Slide in up

Description

Animation to slide in a UI element upward.

Usage

slide_in_up(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

  • Duration expects one of: "fast" = 800 milliseconds, "faster" = 500 milliseconds, "fastest" = 300 milliseconds, "slow" = 2 seconds, "slower" = 3 seconds, "slowest" = 4 seconds,

  • Delay expects one of: 0, 1, 2, 3, 4, 5, no delay if left NULL

  • Steps expects one of: 10, 20, 30, 40, 50, no steps if left NULL

  • Iteration expects one of: 1, 2, 3, 4, 5, infinite, no iteration if left NULL

Examples

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

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

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

  shinyApp(ui, server)
}

Slide out down

Description

Animation to slide in a UI element downward.

Usage

slide_out_down(
  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

  • Duration expects one of: "fast" = 800 milliseconds, "faster" = 500 milliseconds, "fastest" = 300 milliseconds, "slow" = 2 seconds, "slower" = 3 seconds, "slowest" = 4 seconds,

  • Delay expects one of: 0, 1, 2, 3, 4, 5, no delay if left NULL

  • Steps expects one of: 10, 20, 30, 40, 50, no steps if left NULL

  • Iteration expects one of: 1, 2, 3, 4, 5, infinite, no iteration if left NULL

Examples

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

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

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

  shinyApp(ui, server)
}

Slide out left

Description

Animation to slide out (disappear) a UI element from the left.

Usage

slide_out_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

  • Duration expects one of: "fast" = 800 milliseconds, "faster" = 500 milliseconds, "fastest" = 300 milliseconds, "slow" = 2 seconds, "slower" = 3 seconds, "slowest" = 4 seconds,

  • Delay expects one of: 0, 1, 2, 3, 4, 5, no delay if left NULL

  • Steps expects one of: 10, 20, 30, 40, 50, no steps if left NULL

  • Iteration expects one of: 1, 2, 3, 4, 5, infinite, no iteration if left NULL

Examples

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

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

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

  shinyApp(ui, server)
}

Slide out right

Description

Animation to slide out (disappear) a UI element from the right.

Usage

slide_out_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

  • Duration expects one of: "fast" = 800 milliseconds, "faster" = 500 milliseconds, "fastest" = 300 milliseconds, "slow" = 2 seconds, "slower" = 3 seconds, "slowest" = 4 seconds,

  • Delay expects one of: 0, 1, 2, 3, 4, 5, no delay if left NULL

  • Steps expects one of: 10, 20, 30, 40, 50, no steps if left NULL

  • Iteration expects one of: 1, 2, 3, 4, 5, infinite, no iteration if left NULL

Examples

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

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

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

  shinyApp(ui, server)
}

Slide out up

Description

Animation to slide out (disappear) a UI element upward.

Usage

slide_out_up(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

  • Duration expects one of: "fast" = 800 milliseconds, "faster" = 500 milliseconds, "fastest" = 300 milliseconds, "slow" = 2 seconds, "slower" = 3 seconds, "slowest" = 4 seconds,

  • Delay expects one of: 0, 1, 2, 3, 4, 5, no delay if left NULL

  • Steps expects one of: 10, 20, 30, 40, 50, no steps if left NULL

  • Iteration expects one of: 1, 2, 3, 4, 5, infinite, no iteration if left NULL

Examples

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

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

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

  shinyApp(ui, server)
}

Swivel horizontal

Description

Animation to swivel a UI element horizontally.

Usage

swivel_horizontal(
  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

  • Duration expects one of: "fast" = 800 milliseconds, "faster" = 500 milliseconds, "fastest" = 300 milliseconds, "slow" = 2 seconds, "slower" = 3 seconds, "slowest" = 4 seconds,

  • Delay expects one of: 0, 1, 2, 3, 4, 5, no delay if left NULL

  • Steps expects one of: 10, 20, 30, 40, 50, no steps if left NULL

  • Iteration expects one of: 1, 2, 3, 4, 5, infinite, no iteration if left NULL

Examples

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

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

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

  shinyApp(ui, server)
}

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

  • Duration expects one of: "fast" = 800 milliseconds, "faster" = 500 milliseconds, "fastest" = 300 milliseconds, "slow" = 2 seconds, "slower" = 3 seconds, "slowest" = 4 seconds,

  • Delay expects one of: 0, 1, 2, 3, 4, 5, no delay if left NULL

  • Steps expects one of: 10, 20, 30, 40, 50, no steps if left NULL

  • Iteration expects one of: 1, 2, 3, 4, 5, infinite, no iteration if left NULL

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)
}

Swivel vertical

Description

Animation to swivel a UI element vertically.

Usage

swivel_vertical(
  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

  • Duration expects one of: "fast" = 800 milliseconds, "faster" = 500 milliseconds, "fastest" = 300 milliseconds, "slow" = 2 seconds, "slower" = 3 seconds, "slowest" = 4 seconds,

  • Delay expects one of: 0, 1, 2, 3, 4, 5, no delay if left NULL

  • Steps expects one of: 10, 20, 30, 40, 50, no steps if left NULL

  • Iteration expects one of: 1, 2, 3, 4, 5, infinite, no iteration if left NULL

Examples

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

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

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

  shinyApp(ui, server)
}

Swivel vertical double

Description

Animation to swivel a UI element vertically, twice.

Usage

swivel_vertical_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

  • Duration expects one of: "fast" = 800 milliseconds, "faster" = 500 milliseconds, "fastest" = 300 milliseconds, "slow" = 2 seconds, "slower" = 3 seconds, "slowest" = 4 seconds,

  • Delay expects one of: 0, 1, 2, 3, 4, 5, no delay if left NULL

  • Steps expects one of: 10, 20, 30, 40, 50, no steps if left NULL

  • Iteration expects one of: 1, 2, 3, 4, 5, infinite, no iteration if left NULL

Examples

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

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

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

  shinyApp(ui, server)
}

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

  • Duration expects one of: "fast" = 800 milliseconds, "faster" = 500 milliseconds, "fastest" = 300 milliseconds, "slow" = 2 seconds, "slower" = 3 seconds, "slowest" = 4 seconds,

  • Delay expects one of: 0, 1, 2, 3, 4, 5, no delay if left NULL

  • Steps expects one of: 10, 20, 30, 40, 50, no steps if left NULL

  • Iteration expects one of: 1, 2, 3, 4, 5, infinite, no iteration if left NULL

Examples

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

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

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

  shinyApp(ui, server)
}

Use the vov package

Description

Enables vov by including the CSS file necessary for the animations.

Usage

use_vov()

Examples

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

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

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

  shinyApp(ui, server)
}

Wheel in left

Description

Animation to wheel in a UI element from the left.

Usage

wheel_in_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

  • Duration expects one of: "fast" = 800 milliseconds, "faster" = 500 milliseconds, "fastest" = 300 milliseconds, "slow" = 2 seconds, "slower" = 3 seconds, "slowest" = 4 seconds,

  • Delay expects one of: 0, 1, 2, 3, 4, 5, no delay if left NULL

  • Steps expects one of: 10, 20, 30, 40, 50, no steps if left NULL

  • Iteration expects one of: 1, 2, 3, 4, 5, infinite, no iteration if left NULL

Examples

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

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

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

  shinyApp(ui, server)
}

Wheel in right

Description

Animation to wheel in a UI element from the right.

Usage

wheel_in_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

  • Duration expects one of: "fast" = 800 milliseconds, "faster" = 500 milliseconds, "fastest" = 300 milliseconds, "slow" = 2 seconds, "slower" = 3 seconds, "slowest" = 4 seconds,

  • Delay expects one of: 0, 1, 2, 3, 4, 5, no delay if left NULL

  • Steps expects one of: 10, 20, 30, 40, 50, no steps if left NULL

  • Iteration expects one of: 1, 2, 3, 4, 5, infinite, no iteration if left NULL

Examples

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

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

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

  shinyApp(ui, server)
}

Wheel out left

Description

Animation to wheel out (disappear) a UI element from the left.

Usage

wheel_out_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

  • Duration expects one of: "fast" = 800 milliseconds, "faster" = 500 milliseconds, "fastest" = 300 milliseconds, "slow" = 2 seconds, "slower" = 3 seconds, "slowest" = 4 seconds,

  • Delay expects one of: 0, 1, 2, 3, 4, 5, no delay if left NULL

  • Steps expects one of: 10, 20, 30, 40, 50, no steps if left NULL

  • Iteration expects one of: 1, 2, 3, 4, 5, infinite, no iteration if left NULL

Examples

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

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

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

  shinyApp(ui, server)
}

Wheel out right

Description

Animation to wheel out (disappear) a UI element from the right.

Usage

wheel_out_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

  • Duration expects one of: "fast" = 800 milliseconds, "faster" = 500 milliseconds, "fastest" = 300 milliseconds, "slow" = 2 seconds, "slower" = 3 seconds, "slowest" = 4 seconds,

  • Delay expects one of: 0, 1, 2, 3, 4, 5, no delay if left NULL

  • Steps expects one of: 10, 20, 30, 40, 50, no steps if left NULL

  • Iteration expects one of: 1, 2, 3, 4, 5, infinite, no iteration if left NULL

Examples

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

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

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

  shinyApp(ui, server)
}

Zoom in

Description

Animation to zoom a UI element.

Usage

zoom_in(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

  • Duration expects one of: "fast" = 800 milliseconds, "faster" = 500 milliseconds, "fastest" = 300 milliseconds, "slow" = 2 seconds, "slower" = 3 seconds, "slowest" = 4 seconds,

  • Delay expects one of: 0, 1, 2, 3, 4, 5, no delay if left NULL

  • Steps expects one of: 10, 20, 30, 40, 50, no steps if left NULL

  • Iteration expects one of: 1, 2, 3, 4, 5, infinite, no iteration if left NULL

Examples

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

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

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

  shinyApp(ui, server)
}

Zoom in down

Description

Animation to zoom a UI element down.

Usage

zoom_in_down(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

  • Duration expects one of: "fast" = 800 milliseconds, "faster" = 500 milliseconds, "fastest" = 300 milliseconds, "slow" = 2 seconds, "slower" = 3 seconds, "slowest" = 4 seconds,

  • Delay expects one of: 0, 1, 2, 3, 4, 5, no delay if left NULL

  • Steps expects one of: 10, 20, 30, 40, 50, no steps if left NULL

  • Iteration expects one of: 1, 2, 3, 4, 5, infinite, no iteration if left NULL

Examples

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

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

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

  shinyApp(ui, server)
}

Zoom in left

Description

Animation to zoom a UI element left.

Usage

zoom_in_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

  • Duration expects one of: "fast" = 800 milliseconds, "faster" = 500 milliseconds, "fastest" = 300 milliseconds, "slow" = 2 seconds, "slower" = 3 seconds, "slowest" = 4 seconds,

  • Delay expects one of: 0, 1, 2, 3, 4, 5, no delay if left NULL

  • Steps expects one of: 10, 20, 30, 40, 50, no steps if left NULL

  • Iteration expects one of: 1, 2, 3, 4, 5, infinite, no iteration if left NULL

Examples

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

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

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

  shinyApp(ui, server)
}

Zoom in right

Description

Animation to zoom a UI element right.

Usage

zoom_in_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

  • Duration expects one of: "fast" = 800 milliseconds, "faster" = 500 milliseconds, "fastest" = 300 milliseconds, "slow" = 2 seconds, "slower" = 3 seconds, "slowest" = 4 seconds,

  • Delay expects one of: 0, 1, 2, 3, 4, 5, no delay if left NULL

  • Steps expects one of: 10, 20, 30, 40, 50, no steps if left NULL

  • Iteration expects one of: 1, 2, 3, 4, 5, infinite, no iteration if left NULL

Examples

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

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

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

  shinyApp(ui, server)
}

Zoom in up

Description

Animation to zoom a UI element up.

Usage

zoom_in_up(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

  • Duration expects one of: "fast" = 800 milliseconds, "faster" = 500 milliseconds, "fastest" = 300 milliseconds, "slow" = 2 seconds, "slower" = 3 seconds, "slowest" = 4 seconds,

  • Delay expects one of: 0, 1, 2, 3, 4, 5, no delay if left NULL

  • Steps expects one of: 10, 20, 30, 40, 50, no steps if left NULL

  • Iteration expects one of: 1, 2, 3, 4, 5, infinite, no iteration if left NULL

Examples

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

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

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

  shinyApp(ui, server)
}

Zoom out

Description

Animation to zoom a UI element.

Usage

zoom_out(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

  • Duration expects one of: "fast" = 800 milliseconds, "faster" = 500 milliseconds, "fastest" = 300 milliseconds, "slow" = 2 seconds, "slower" = 3 seconds, "slowest" = 4 seconds,

  • Delay expects one of: 0, 1, 2, 3, 4, 5, no delay if left NULL

  • Steps expects one of: 10, 20, 30, 40, 50, no steps if left NULL

  • Iteration expects one of: 1, 2, 3, 4, 5, infinite, no iteration if left NULL

Examples

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

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

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

  shinyApp(ui, server)
}

Zoom out down

Description

Animation to zoom a UI element down.

Usage

zoom_out_down(
  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

  • Duration expects one of: "fast" = 800 milliseconds, "faster" = 500 milliseconds, "fastest" = 300 milliseconds, "slow" = 2 seconds, "slower" = 3 seconds, "slowest" = 4 seconds,

  • Delay expects one of: 0, 1, 2, 3, 4, 5, no delay if left NULL

  • Steps expects one of: 10, 20, 30, 40, 50, no steps if left NULL

  • Iteration expects one of: 1, 2, 3, 4, 5, infinite, no iteration if left NULL

Examples

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

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

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

  shinyApp(ui, server)
}

Zoom out left

Description

Animation to zoom a UI element left.

Usage

zoom_out_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

  • Duration expects one of: "fast" = 800 milliseconds, "faster" = 500 milliseconds, "fastest" = 300 milliseconds, "slow" = 2 seconds, "slower" = 3 seconds, "slowest" = 4 seconds,

  • Delay expects one of: 0, 1, 2, 3, 4, 5, no delay if left NULL

  • Steps expects one of: 10, 20, 30, 40, 50, no steps if left NULL

  • Iteration expects one of: 1, 2, 3, 4, 5, infinite, no iteration if left NULL

Examples

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

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

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

  shinyApp(ui, server)
}

Zoom out right

Description

Animation to zoom a UI element right.

Usage

zoom_out_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

  • Duration expects one of: "fast" = 800 milliseconds, "faster" = 500 milliseconds, "fastest" = 300 milliseconds, "slow" = 2 seconds, "slower" = 3 seconds, "slowest" = 4 seconds,

  • Delay expects one of: 0, 1, 2, 3, 4, 5, no delay if left NULL

  • Steps expects one of: 10, 20, 30, 40, 50, no steps if left NULL

  • Iteration expects one of: 1, 2, 3, 4, 5, infinite, no iteration if left NULL

Examples

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

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

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

  shinyApp(ui, server)
}

Zoom out up

Description

Animation to zoom a UI element up.

Usage

zoom_out_up(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

  • Duration expects one of: "fast" = 800 milliseconds, "faster" = 500 milliseconds, "fastest" = 300 milliseconds, "slow" = 2 seconds, "slower" = 3 seconds, "slowest" = 4 seconds,

  • Delay expects one of: 0, 1, 2, 3, 4, 5, no delay if left NULL

  • Steps expects one of: 10, 20, 30, 40, 50, no steps if left NULL

  • Iteration expects one of: 1, 2, 3, 4, 5, infinite, no iteration if left NULL

Examples

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

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

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

  shinyApp(ui, server)
}