app_container: Create an iframe container for app demo

View source: R/utils.R

app_containerR Documentation

Create an iframe container for app demo

Description

Create an iframe container for app demo

Usage

app_container(url, deps = FALSE, skin, color = NULL, landscape = FALSE)

Arguments

url

app URL. httr GET test is run before. If failed, function returns NULL.

deps

Whether to include marvel device assets. Default to FALSE. The first occurence must set deps to TRUE so that CSS is loaded in the page.

skin

Wrapper devices.

color

Wrapper color. Only with iphone8 (black, silver, gold), iphone8+ (black, silver, gold), iphone5s (black, silver, gold), iphone5c (white,red , yellow, green, blue), iphone4s (black, silver), ipadMini (black, silver) and galaxyS5 (black, white).

landscape

Whether to put the device wrapper in landscape mode. Default to FALSE.


shinyMobile documentation built on Nov. 25, 2022, 5:05 p.m.