bsModal2: bsModal2

Description Usage Arguments Details Note Author(s) See Also

View source: R/bsModal.R

Description

bsModal2 is used within the UI to create a modal window.

Usage

1
bsModal2(id, title, trigger, ..., class = NULL, size)

Arguments

id

A unique identifier for the modal window

title

The title to appear at the top of the modal

trigger

The id of a button or link that will open the modal.

class

Class to customize look via CSS. NULL for the default shinyBS look, or a named vector or list with one or more classes applied to fade, content, header, close (the “x” at upper right), title, body, footer, and btn elements.

size

Optional What size should the modal be? (small or large)

...

UI elements to include within the modal

Details

See Modals for more information about how to use the parent function, bsModal, with the rest of the Modals family. The class argument was added by Jon Katz.

Note

Run bsExample("Modals") for an example of bsModal functionality.

Author(s)

Eric Bailey

See Also

Twitter Bootstrap 3


jonkatz2/shinyAddOns documentation built on July 26, 2017, 6:04 p.m.