bootstrapLib: Bootstrap libraries

Description Usage Arguments Details

View source: R/bootstrap.R

Description

This function defines a set of web dependencies necessary for using Bootstrap components in a web page.

Usage

1
bootstrapLib(theme = NULL)

Arguments

theme

One of the following:

  • NULL (the default), which implies a "stock" build of Bootstrap 3.

  • A bslib::bs_theme() object. This can be used to replace a stock build of Bootstrap 3 with a customized version of Bootstrap 3 or higher.

  • A character string pointing to an alternative Bootstrap stylesheet (normally a css file within the www directory, e.g. www/bootstrap.css).

Details

It isn't necessary to call this function if you use bootstrapPage() or others which use bootstrapPage, such fluidPage(), navbarPage(), fillPage(), etc, because they already include the Bootstrap web dependencies.


shiny documentation built on Jan. 26, 2021, 1:06 a.m.