flexPage: Create a css flexbox based page

View source: R/flex.R

flexPageR Documentation

Create a css flexbox based page

Description

Create a Shiny UI page using a flexPanel to wrap the page content. As other Shiny UI pages, it scaffolds the entire page and loads any required or registered dependencies.

Usage

flexPage(..., title = NULL, fill_page = TRUE, dependency = bootstrapLib())

Arguments

...

Arguments to be passed to flexPanel.

title

The browser window title (defaults to the host URL of the page).

fill_page

Boolean value if the page should automatically stretch to match the browser window height.

dependency

A set of web dependencies. This value can be a htmlDependency, for example the shiny bootstrap dependency (default value) or a tagList with different dependencies.

Value

A UI definition that can be passed to the shinyUI function.

Note

See https://css-tricks.com/snippets/css/a-guide-to-flexbox/ for additional details on using css flexbox.

See Also

flexPanel


imola documentation built on April 19, 2022, 5:09 p.m.