Learn R Programming

shinyMobile (version 0.7.0)

f7Link: Create a Framework7 link

Description

Build a Framework7 link

Usage

f7Link(label = NULL, icon = NULL, src = NULL, external = FALSE)

Arguments

label

Link text.

icon

Link icon, if any.

src

Link source, url.

external

Whether switch to an external link. FALSE by default.

Examples

Run this code
# NOT RUN {
if(interactive()){
 library(shiny)
 library(shinyMobile)

 shiny::shinyApp(
   ui = f7Page(
    title = "Links",
    f7SingleLayout(
     navbar = f7Navbar(title = "f7Link"),
     f7Link(label = "Google", src = "https://www.google.com"),
     f7Link(label = "Google", src = "https://www.google.com", external = TRUE)
    )
   ),
   server = function(input, output) {}
 )
}

# }

Run the code above in your browser using DataLab