gomo_gomo_no: Generate Animated Text

Description Usage Arguments Value Examples

View source: R/gomo_gomo_no.R

Description

The function animates text using the Animate.css library

Usage

1
2
3
4
5
6
7
8
9
gomo_gomo_no(
  text,
  level = "#",
  animation = "bounce",
  repeating = 1,
  delay = 0,
  duration = "slow",
  color = "black"
)

Arguments

text

The text that should be animated

level

The Markdown level of the text, available are : #, ##, ###, ####, #####, ######, text. Default to "#"

animation

The type of animation. Default to "bounce".

repeating

Number of times the animation is repeated (from 1 to 3). Default to 1

delay

Time before triggering the animation (in seconds). Default to 0

duration

The speed of the animation, available choices are: "slow", "slower", "fast", "faster". Default to "slow"

color

the color of the animated text

Value

animated text

Examples

1
2
3
4
5
6
# Put use_gomo() at the beginning of your Rmd Document or Shiny App (UI)
use_gomo()

# Then call gomo_gomo_no() wherever you want to animate your text

gomo_gomo_no(text = "I Love Chocolate !!!!", level = "###", animation = "tada")

GomoGomonoMi documentation built on July 2, 2020, 3:22 a.m.