marquee: Create a marquee list.

Description Usage Arguments Examples

Description

This creates the necessary elements for marquee to make custom text loading screen. This function is to be used as input list in withLoader or renderCSS functions.

Usage

1
2
marquee(content, behavior = "scroll", direction = "left",
  scrollamount = 6, width = "100%", ...)

Arguments

content

The text content of the marquee.

behavior

Sets how the text is scrolled within the marquee. Possible values are scroll, slide and alternate. If no value is specified, the default value is scroll.

direction

Sets the direction of the scrolling within the marquee. Possible values are left, right, up and down. If no value is specified, the default value is left.

scrollamount

Sets the amount of scrolling at each interval in pixels. The default value is 6.

width

Sets the width in pixels or percentage value.

...

Other parameters passed to the marquee such as height, bgcolor.

Examples

1
marquee("Custom loading text here...", height=60, width=100)

Example output

$content
[1] "Custom loading text here..."

$behavior
[1] "scroll"

$direction
[1] "left"

$scrollamount
[1] 6

$width
[1] 100

$height
[1] 60

shinycustomloader documentation built on May 2, 2019, 4:58 a.m.