---
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. 

```{r, eval = FALSE}
library(shiny)
library(shinyMobile)
runGadget(shinyAppDir(system.file("examples/tab_layout", package = "shinyMobile")))
```
