Learn R Programming

shinyMobile (version 0.7.0)

f7Float: Create a Framework7 float

Description

Build a Framework7 float

Usage

f7Float(tag, side = c("left", "right"))

Arguments

tag

Tag to float.

side

Side to float: "left" or "right".

Examples

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

 shiny::shinyApp(
   ui = f7Page(
    title = "Float",
    f7SingleLayout(
     navbar = f7Navbar(title = "f7Float"),
     f7Float(h1("Left"), side = "left"),
    f7Float(h1("Right"), side = "right")
    )
   ),
   server = function(input, output) {}
 )
}

# }

Run the code above in your browser using DataLab