Description Usage Arguments Note Author(s) Examples
Create a user message container
1 | userMessages(..., status, width = 4)
|
... |
Slot for userMessage. |
status |
Messages status. See here for a list of valid colors https://adminlte.io/themes/AdminLTE/pages/UI/general.html. |
width |
Container width: between 1 and 12. |
Better to include in a bs4Card.
David Granjon, dgranjon@ymail.com
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | if (interactive()) {
library(shiny)
library(bs4Dash)
shinyApp(
ui = bs4DashPage(
bs4DashNavbar(),
bs4DashSidebar(),
bs4DashControlbar(),
bs4DashBody(
userMessages(
status = "success",
userMessage(
author = "Alexander Pierce",
date = "20 Jan 2:00 pm",
src = "https://adminlte.io/themes/AdminLTE/dist/img/user1-128x128.jpg",
side = NULL,
"Is this template really for free? That's unbelievable!"
)
)
),
title = "user Message"
),
server = function(input, output) { }
)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.