marquee.Rd
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.
marquee(content, behavior = "scroll", direction = "left", scrollamount = 6, width = "100%", ...)
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. |
marquee("Custom loading text here...", height=60, width=100)#> $content #> [1] "Custom loading text here..." #> #> $behavior #> [1] "scroll" #> #> $direction #> [1] "left" #> #> $scrollamount #> [1] 6 #> #> $width #> [1] 100 #> #> $height #> [1] 60 #>