Simulate screen resolution for Shiny apps. When developing applications, the display may be different depending on the screen on which the application is displayed. This application allows you to simulate different resolutions to verify that the display is correct.
:warning::warning::warning:
This is a POC to discuss with @DivadNojnarg, the goal is to see how we can merge this with shinyMobile::preview_mobile()
.
Online demo : https://dreamrs.github.io/resizer/
You can install the development version from GitHub with:
# install.packages("devtools")
devtools::install_github("dreamRs/resizer")
Launch your app (or the Hello demo from shiny) in a resizable iframe :
library(resizer)
emulate_resolution(
system.file("examples", "01_hello", package = "shiny")
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.