popover {RLumShiny} | R Documentation |
Create a bootstrap button with popover
Description
Add small overlays of content for housing secondary information.
Usage
popover(
title,
content,
header = NULL,
html = TRUE,
class = "btn btn-default",
placement = c("right", "top", "left", "bottom"),
trigger = c("click", "hover", "focus", "manual")
)
Arguments
title |
|
content |
|
header |
|
html |
|
class |
|
placement |
|
trigger |
|
Examples
# html code
popover("title", "Some content")
# example app
## Not run:
shinyApp(
ui = fluidPage(
jscolorInput(inputId = "col", label = "JSColor Picker",
value = "21BF6B", position = "right",
mode = "HVS", close = TRUE),
popover(title = "Help!", content = "Call 911"),
plotOutput("plot")
),
server = function(input, output) {
output$plot <- renderPlot({
plot(cars, col = input$col, cex = 2, pch = 16)
})
})
## End(Not run)
[Package RLumShiny version 0.2.3 Index]