effects: Customise effects

Description Usage Arguments Details Examples

Description

Cutomise in and out effect.

Usage

1
2
3
4
5
textillateIn(t, effect = "fadeInLeftBig", delay.scale = 1.5, delay = 50,
  sync = FALSE, shuffle = FALSE, reverse = FALSE)

textillateOut(t, effect = "hinge", delay.scale = 1.5, delay = 50,
  sync = FALSE, shuffle = FALSE, reverse = FALSE)

Arguments

t

and object of class textillate as returned by textillate.

effect

set effect name.

delay.scale

set the delay factor applied to each consecutive character.

delay

set the delay between each character.

sync

set to true to animate all the characters at the same time.

shuffle

randomize the character sequence.

reverse

reverse the character sequence.

Details

See http://textillate.js.org/ for examples. reserve = TRUE doesn't make sense with sync = TRUE.

Examples

1
2
3
4
5
6
7
# may not work in RStudio viewer, open in browser
textillate("Duration and effect", min.display.time = 5000) %>%
  textillateIn(
    effect = "flipInX",
    delay = 1000,
    shuffle = TRUE
  )

JohnCoene/textillate documentation built on May 7, 2020, 4:17 a.m.