scroll: Vertical and horizontal scroll

View source: R/design-scroll.R

scrollR Documentation

Vertical and horizontal scroll

Description

Many of the applications you build despite a complex layout will still fit onto a single page. To help scroll long content alongside shorter content use the scroll() utility function.

Usage

scroll(x, direction = "vertical")

Arguments

x

A tag element or .style pronoun.

direction

One of "horizontal" or "vertical" specifying which direction to scroll overflowing content, defaults to "vertical", in which case the content may scroll up and down.

See Also

Other design utilities: active(), affix(), background(), border(), display(), flex(), float(), font(), height(), margin(), padding(), shadow(), width()


nteetor/dull documentation built on June 10, 2022, 11:30 a.m.