---
title: "Gadgets"
author: "David Granjon"
date: "`r Sys.Date()`"
output: rmarkdown::html_vignette
vignette: >
  %\VignetteIndexEntry{Gadgets}
  %\VignetteEngine{knitr::rmarkdown}
  %\VignetteEncoding{UTF-8}
---

shinyMobile is particularly well suited to build shiny gagdet. To convert an existing app
to a gadget, wrap it in the `shiny::runGadget()` function. 


<img src="./figures/f7_gadget.png" width="405" height="629" class="img-shadow">

```r
library(shiny)
library(shinyF7)
runGadget(shinyAppDir(system.file("examples/tab_layout", package = "shinyMobile")))
```
