Creates a title bar for a Shiny Gadget. Intended to be used with
gadgetPage
. Title bars contain a title, and optionally, a
titlebarButton
on the left and/or right sides.
1 2 3 4 | titlebar(title, left = NULL, right = titlebarButton("done", "Done", primary
= TRUE))
titlebarButton(inputId, label, primary = FALSE)
|
title |
The title of the gadget. If this needs to be dynamic, pass
|
left |
The |
right |
The |
inputId |
The |
label |
The text label to display on the button. |
primary |
If |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.