Closed englianhu closed 2 years ago
Hi, valueBox and infoBox are part of the {shinydashboard} package, which is not supported by {shinyMobile}. The idea is interesting however. I keep it as a side note.
Hi,
valueBox and infoBox are part of the {shinydashboard} package, which is not supported by {shinyMobile}. The idea is interesting however. I keep it as a side note.
{shinydashboard}
{shinyMobile}
Originally posted by @DivadNojnarg in https://github.com/RinteRface/shinyMobile/issues/185#issuecomment-823334956
It works on shinyMobile::f4Page() as we can know via https://github.com/dreamRs/shinyWidgets/issues/484#issuecomment-1105759533 but not on {shinydashboard} package as below:
shinyMobile::f4Page()
tabItem(tabName = 'home', h2('®️Studio ☁️', align = 'center'), #alignCenter( ## https://stackoverflow.com/questions/4253920/how-do-i-change-the-color-of-radio-buttons ## https://www.justinmind.com/blog/radio-button-design-examples ## https://www.sliderrevolution.com/resources/styling-radio-buttons # prettyRadioButtons( # inputId = 'rb', label = NULL, # choices = rb_choices, #menus$choices, # shape = 'curve', animation = 'pulse', # selected = character(0), status = 'primary', # thick = TRUE, width = '100%', bigger = TRUE, # icon = icon('registered')) #) #includeHTML('www/DynRadioB.html'), #includeCSS('www/DynRadioB.css') #htmlOutput('radio_home') f7Page( HTML(' <div class="container" align="center"> <input type="radio" class="radio" id="radio-1" name="group"/> <label for="radio-1"><br>🇬🇧<br>English</label> <input type="radio" class="radio" id="radio-2" name="group"/> <label for="radio-2"></label> <input type="radio" class="radio" id="radio-3" name="group"/> <label for="radio-3"><br>🇹🇼<br>繁体中文</label> <input type="radio" class="radio" id="radio-4" name="group"/> <label for="radio-4"></label> <input type="radio" class="radio" id="radio-5" name="group"/> <label for="radio-5"><br>🇰🇷<br>한국어</label> <input type="radio" class="radio" id="radio-6" name="group"/> <label for="radio-6"><br>🇬🇷<br>Ελληνικά</label> <input type="radio" class="radio" id="radio-7" name="group"/> <label for="radio-7"><br>🇩🇪<br>Deutsch</label> <input type="radio" class="radio" id="radio-8" name="group"/> <label for="radio-8"><br>🇫🇷<br>Français</label> <input type="radio" class="radio" id="radio-9" name="group"/> <label for="radio-9"><br>🇮🇹<br>Italiano</label> </div> ')) ),
https://github.com/scibrokes/owner/issues/2#issuecomment-1105780663 shows completed code.
Closing since {shinyMobile} is not supposed to be used within {shinydashboard}.
Originally posted by @DivadNojnarg in https://github.com/RinteRface/shinyMobile/issues/185#issuecomment-823334956
It works on
shinyMobile::f4Page()
as we can know via https://github.com/dreamRs/shinyWidgets/issues/484#issuecomment-1105759533 but not on{shinydashboard}
package as below:https://github.com/scibrokes/owner/issues/2#issuecomment-1105780663 shows completed code.
Reference :