f7Password | R Documentation |
Create an f7 password input
f7Password(inputId, label, value = "", placeholder = NULL)
inputId |
The id of the input object. |
label |
The label to set for the input object. |
value |
The value to set for the input object. |
placeholder |
The placeholder to set for the input object. |
if(interactive()){
library(shiny)
library(shinyMobile)
shinyApp(
ui = f7Page(
title = "My app",
f7SingleLayout(
navbar = f7Navbar(title = "f7Password"),
f7Password(
inputId = "password",
label = "Password:",
placeholder = "Your password here"
),
verbatimTextOutput("value")
)
),
server = function(input, output) {
output$value <- renderPrint({ input$password })
}
)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.