f7Margin | R Documentation |
f7Margin
adds a margin to the given tag.
f7Margin(tag, side = NULL)
tag |
Tag to apply the margin. |
side |
margin side: "left", "right", "top", "bottom", "vertical" (top and bottom), "horizontal" (left and right). Leave NULL to apply on all sides. |
David Granjon, dgranjon@ymail.com
if(interactive()){ library(shiny) library(shinyMobile) cardTag <- f7Card( title = "Card header", "This is a simple card with plain text, but cards can also contain their own header, footer, list view, image, or any other element.", footer = tagList( f7Button(color = "blue", label = "My button", href = "https://www.google.com"), f7Badge("Badge", color = "green") ) ) shinyApp( ui = f7Page( title = "Margins", f7SingleLayout( navbar = f7Navbar(title = "f7Margin"), f7Margin(cardTag), cardTag ) ), server = function(input, output) {} ) }
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.