shinyMobile | shiny API for Framework7 | Data Visualization library
kandi X-RAY | shinyMobile Summary
kandi X-RAY | shinyMobile Summary
Develop outstanding {shiny} apps for iOS, Android, desktop as well as beautiful {shiny} gadgets. {shinyMobile} is built on top of the latest Framework7 template.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of shinyMobile
shinyMobile Key Features
shinyMobile Examples and Code Snippets
Community Discussions
Trending Discussions on shinyMobile
QUESTION
I'm using the awesome shinyMobile package to create a mobile app. It has 4 tabs (f7Tab()), including a dashboard tab where I load all my charts. The idea is to load the charts when the user shifts to the tab so they don't slow down the initial app load, but also ONLY LOAD THE GRAPHS ONCE unless an input is triggered.
Here is a sample of my server code (there are multiple graphs like this):
...ANSWER
Answered 2021-Apr-03 at 20:48I ended up finding a workaround: use f7Accordion id to determine whether the graph should load or not. So don't even need to use the code to check whether my Dashboard was open. I needed to use the 'state' object, which shows as TRUE or FALSE depending on whether the f7AccordionItem under f7Accordion is open.
Example:
QUESTION
Context: I am developing a mobile Shiny app using the shinyMobile package, which is a wrapper for the famous framework7 HTML template.
In my app, the user has to make a selection of attributes on a first tab using multiple dropdown lists, and then, on the other tabs, some output is produced. Each tab requires the user to scroll up and down to access all the content and in this process, very often the 'pull to refresh' feature is triggered.
This is really annoying, because the entire attribute selection and output are lost, and the user has to start over from scratch.
What I tried: based on this SO thread which pointed me to this Google developer page, I tried setting the CSS overscroll-behavior property to contain
with: body {overscroll-behavior-y: contain;}
. PROBLEM: It does not work for me! (tested on Chrome Android)
Minimal reproducible example:
default app, deployed here
...ANSWER
Answered 2020-Jun-04 at 21:58You might want to change your css part to: html,body{overscroll-behavior-y: contain;}
, see https://stackoverflow.com/a/42509310/3502164.
Then it works for me on my mobile (android chrome).
Reproducible example:
QUESTION
Probably very basic question - but can't translate similar posts I've found to my exact issue.
Within an R Shiny app, I have a first drop-down menu that is populated by a vector produced on the server - this allows me to make one set of choices.
I want to have a tick box that then introduces a second drop down - but I want that drop down to disappear if I un-tick the tick box.
I've had a go - see MWE below - the graph is just there to keep to the structure of my original code (obviously I'm aware my drop-downs do nothing but that's not the case in the original but wanted the MWE to be as 'M' as possible).
If I remove the removeUI()
line then ticking the tick-box does create a new drop down as required - but then un-ticking the tick box fails to remove it.
I'm obviously missing something; any help much appreciated as I totally suck at R Shiny but really want to get better!
...ANSWER
Answered 2020-May-09 at 17:12Could you use conditionalPanel
? Put your htmlOutput
for your second input there in your ui
. I would avoid using nested observeEvent
and output
.
QUESTION
I'd like to add a favicon to my shinymobile app and I can't figure out what I'm doing incorrect. The favicon works when i run the app locally however when i save to shinyapps.io. The code below shows my shiny app as well as the code for my manifest.json file. I have all of my images and favicon.io image saved in the www folder.
shiny app
...ANSWER
Answered 2020-Apr-17 at 16:55Im not familiar with the shinyMobile
package, but you can simply add it to the head
tags$head(tags$link(rel="shortcut icon", href="favicon.ico"))
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install shinyMobile
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page