f7Padding {shinyMobile} | R Documentation |
Framework7 padding utility
Description
f7Padding
adds padding to the given tag.
Usage
f7Padding(tag, side = NULL)
Arguments
tag |
Tag to apply the padding. |
side |
padding side: "left", "right", "top", "bottom", "vertical" (top and bottom), "horizontal" (left and right). Leave NULL to apply on all sides. |
Author(s)
David Granjon, dgranjon@ymail.com
Examples
if(interactive()){
library(shiny)
library(shinyMobile)
cardTag <- f7Card(
title = "Card header",
f7Padding(
p("The padding is applied here.")
),
footer = tagList(
f7Button(color = "blue", label = "My button", href = "https://www.google.com"),
f7Badge("Badge", color = "green")
)
)
shinyApp(
ui = f7Page(
title = "Padding",
f7SingleLayout(navbar = f7Navbar(title = "f7Padding"), cardTag)
),
server = function(input, output) {}
)
}
[Package shinyMobile version 2.0.0 Index]