Skip to content
Simulate screen resolution for Shiny apps
R JavaScript HTML
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
R
docs
inst
man
.Rbuildignore
.gitignore
.travis.yml
DESCRIPTION
NAMESPACE
README.md

README.md

resizer

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.

Lifecycle: experimental Travis build status

⚠️⚠️⚠️

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/

Installation

You can install the development version from GitHub with:

# install.packages("devtools")
devtools::install_github("dreamRs/resizer")

Example

Launch your app (or the Hello demo from shiny) in a resizable iframe :

library(resizer)
emulate_resolution(
  system.file("examples", "01_hello", package = "shiny")
)

You can’t perform that action at this time.