Learn R Programming

shinydashboardPlus (version 0.2.0)

mailForm: AdminLTE2 mail form

Description

Create a mail form

Usage

mailForm(..., mailto = "#")

Arguments

...

message text.

mailto

person who should receive the mail.

Examples

Run this code
# NOT RUN {
if (interactive()) {
 library(shiny)
 library(shinydashboard)
 shinyApp(
  ui = dashboardPage(
    dashboardHeader(),
    dashboardSidebar(),
    dashboardBody(
     box(
      title = "Mail box demo",
      mailForm(mailto = "dgranjon@ymail.com")
     )
    ),
    title = "mailForm"
  ),
  server = function(input, output) { }
 )
}

# }

Run the code above in your browser using DataLab