f7Link {shinyMobile} | R Documentation |
Framework7 link
Description
Link to point toward external content.
Usage
f7Link(label = NULL, href, icon = NULL, routable = FALSE)
Arguments
label |
Optional link text. |
href |
Link source, url. |
icon |
Link icon, if any. Must pass f7Icon. |
routable |
Whether to make the link handled by the framework 7 router. Default to FALSE which opens a new page in a new tab. |
Author(s)
David Granjon, dgranjon@ymail.com
Examples
if (interactive()) {
library(shiny)
library(shinyMobile)
shinyApp(
ui = f7Page(
title = "Links",
f7SingleLayout(
navbar = f7Navbar(title = "f7Link"),
f7Link(label = "Google", href = "https://www.google.com"),
f7Link(href = "https://www.twitter.com", icon = f7Icon("bolt_fill"))
)
),
server = function(input, output) {}
)
}
[Package shinyMobile version 2.0.0 Index]