Create an f7 text area input
f7TextArea(inputId, label, value = "", placeholder = NULL, resize = FALSE)
inputId | Text input id. |
---|---|
label | Text input label. |
value | Text input value. |
placeholder | Text input placeholder. |
resize | Whether to box can be resized. Default to FALSE. |
if(interactive()){ library(shiny) library(shinyMobile) shinyApp( ui = f7Page( title = "My app", f7TextArea( inputId = "textarea", label = "Text Area", value = "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua", placeholder = "Your text here", resize = TRUE ), textOutput("value") ), server = function(input, output) { output$value <- renderText({ input$textarea }) } ) }