textyle: Animate an text element

Description Usage Arguments Examples

View source: R/textyle.R

Description

Animate an text element

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
textyle(
  element,
  color = "coral",
  easing = "easeInCubic",
  transition = 1,
  duration = 400,
  delay = 100,
  class = "ex2",
  ...
)

Arguments

element

An element.

color

string. Color of the callback

easing

string. An effect from jquery-easing.

transition

integrer. Transition in seconds

duration

integrer. Duration

delay

integrer. Delay

class

string. Class of the effect

...

Additional element

Examples

1
2
3
library(htmltools)

textyle(h1("TITLE"))

lgnbhl/textyle documentation built on Dec. 28, 2021, 10:32 p.m.