Learn R Programming

shinyMobile (version 0.7.0)

f7Tooltip: Create a Framework7 tooltip

Description

This uses the auto init framework 7 tooltip

Usage

f7Tooltip(tag, text)

Arguments

tag

Tooltip target.

text

Tooltip content.

Examples

Run this code
# NOT RUN {
if (interactive()) {
 library(shiny)
 library(shinyMobile)
 shinyApp(
   ui = f7Page(
     title = "My app",
     f7SingleLayout(
       navbar = f7Navbar(title = "f7Tooltip"),
       f7Tooltip(
         f7Badge("Hover on me", color = "pink"),
         text = "A tooltip!"
       )
     )
   ),
   server = function(input, output, session) {
   }
 )
}
# }

Run the code above in your browser using DataLab