Create an f7 text input
f7Text(inputId, label, value = "", placeholder = NULL)
inputId | Text input id. |
---|---|
label | Text input label. |
value | Text input value. |
placeholder | Text input placeholder. |
if(interactive()){ library(shiny) library(shinyMobile) shinyApp( ui = f7Page( title = "My app", f7SingleLayout( navbar = f7Navbar(title = "f7Text"), f7Text( inputId = "caption", label = "Caption", value = "Data Summary", placeholder = "Your text here" ), verbatimTextOutput("value") ) ), server = function(input, output) { output$value <- renderPrint({ input$caption }) } ) }