Insert animated text

nia(text = "anicon", size = 1, position = c(0, 0, 0, 0), grow = 0,
  fixed_width = FALSE, animate = "flash", speed = "normal",
  anitype = "repeat", rotate = 0, flip = "none", border = FALSE,
  color = NULL, colour = color, bgcolor = NULL, bgcolour = bgcolor,
  iother = NULL, sother = NULL, dother = NULL)

Arguments

text

A string to animate.

size

Size of the icon relative to font size. Options are 1, lg (133 percent), xs (75 percent), sm (87.5 percent), 2, 3, 4, 5, 7 or 10.

position

A numerical vector of length 4 specifying the value to move up, down, left and right.

grow

Numerical value to grow (or shrink for negative values) without changing or moving the container.

fixed_width

If TRUE, the icon is set to a fixed width

animate

'bounce', 'burst', 'falling', 'flash', 'float', 'horizontal', 'passing', 'passing-reverse', 'pulse', 'ring', 'shake', 'spin', 'tada', 'vertical', or 'wrench'

speed

'normal', 'fast', or 'slow'

anitype

'repeat' or 'hover'

rotate

Numerical value for degree of rotation.

flip

'none', 'horizontal', 'vertical'.

border

If TRUE, draws a border around the icon.

color, colour

Colour to be given to the icon

bgcolor, bgcolour

Colour to be given to the background

iother

Character vector of other parameters directly added to the icon classes, e.g. fa-pull-left, fa-pull-right.

sother

Character vector of other parameters directly added to the style classes.

dother

Character vector of other parameters directly added to the data-fa-transform classes, e.g. shrink-8, grow-2

References

Font awesome animation