## ----setup, echo=FALSE, message=FALSE----------------------------------------- library(bslib) ## ----eval=TRUE, echo=FALSE---------------------------------------------------- card( shinyMobile:::create_app_link( "NobwRAdghgtgpmAXGKAHVA6ASmANGAYwHsIAXOMpMAdzgCMAnRRAVwhiLdIAoAdMAPQsAzgwEAbAJZ0BWCdIZQGATwHCAFpIjKAskTqTxcfgEpeEWo2ZbhpKOPF8IAAmf8NW3fsPG851wxwqETCzgC8zgR8YOqkpKjCiAICDFrkDABmUARwGADmkqTqLHQYkkQpaXCZ2XAAtNRQwjB1BIoQAqbmZhDmUoxKytwe2j39iirDmtp6BkY95sTiRAyhADx1kU6uUnmxdOIscOFuYADEAKzZABxZ-Lj+zqhaANYn-GcZGQBMACYXF3uj3I9ne5wADOCAJwANmu1yBLmcyjgDiI1DBnwyBAIkP43XM5hGygAguhts4WJIThkAOwABSgeTgFNcpEKRjBAFVUL8oORnGTUIjXK4iKh2SRQhFWaKpLZZaLIkRlgxMVcCLcoPikUqenqHrrnHSAMpaPJGAAyUGUnB4jyV0AAbnQlDTaQA5KAupTcdmkTkRfg8vkCoWmQ1K1x0gBCywILwAKhyWcHefzjkU4PAIw7Raa4Hl4GRFfnaTGWHESKWlVpUJWAJK-MFZ+AAfXKwhFUaV-EkAHkTc5W748wax2WK1WIDXRXXG82g2AR22YL9uz3XPwdAARYfqbOjo16icmSNR2PxpMp6ImuCkZx8hhvDi-XxnicFosUe3HyeV0hqwnWsIHrUgmzBCgoAOOA2yfF5X18c9N1OABRaAYMfJQEKIN8dRQj8-2jcsAKAoi51AhcwV+SRhGgow4OwxCN03fgd1o+jjng5iwGA5x9SjQie0vIgE2TANUzAABhdQoAgZllVVfdD1zP8v2LX8ULsPJLVozSUOccQ0FQcQhmgeBhG4JYVmEISDM3DI2AISUZ2shgTGcEA+Ps40SOnWcfNcedwMXJ4mnIcFojctt7kUlY7MCzcjLoVETjc5DEqjNy0pVFYMsy-jvJQgBfIqBJ7crRUqgS7OEaonWqGknJc7hgtwZw7TA9q6uEYRyggDyvN6I19DqhgGtQhqS2CgASFdO3aoaexYdNyAAMVpIVZ3FFzpUMvSAuU+AwU7fDN0q1xKuKhYRroMaJqmnhZpXNdFonFbQzgDatr4nb+r2+V9K0g9jqXNczoq0882uwlbvuuBJp-VrKNIGaoJgxjn0Qt6-w+jNvvJX6JX+k5AcO+CTkTLAuVQviLsKo0YeGpVRvqhHHuRsCZpouiMe43C4Bx5bVq+zbCfIv6pVJg6iopiI1pJS0TVp8j6aum6lSM9BTO4cy4EstzbPaxyIGc-qrNy9zPInVnxvZpHguAYBUHCuBIv4aLYrckwAF0faFzc8fWsXUEOyWIABmXyKVbKIkN4A3J9sq6YnJmlSZx5SoGsBip9oA", # nolint "app", header = FALSE ), full_screen = TRUE, style = "width: 393px; margin: 0 auto; float: none;" ) ## ----eval=FALSE--------------------------------------------------------------- # library(shiny) # library(shinyMobile) # # colors <- c( # lightblue = "#5ac8fa", # pink = "#ff2d55", # teal = "#009688", # yellow = "#ffcc00" # ) # # shinyApp( # ui = f7Page( # title = "Update App", # options = ( # list( # color = "#5ac8fa" # ) # ), # f7SingleLayout( # navbar = f7Navbar(title = "Update App"), # f7BlockTitle("Update theme"), # f7Segment( # f7Button( # inputId = "theme_ios", # "iOS theme" # ), # f7Button( # inputId = "theme_md", # "MD theme" # ) # ), # f7BlockTitle("Set dark mode"), # f7Segment( # f7Button( # inputId = "enable_darkmode", # "Enable darkmode" # ), # f7Button( # inputId = "disable_darkmode", # "Disable darkmode" # ) # ), # f7BlockTitle("Change color theme"), # f7Segment( # tagList( # lapply(names(colors), # function(color) { # f7Button( # inputId = paste0("color_", color), # label = color, # color = color, # ) # } # ) # ) # ) # ) # ), # server = function(input, output, session) { # # observeEvent(input$theme_ios, { # updateF7App( # options = list( # theme = "ios" # ) # ) # }) # # observeEvent(input$theme_md, { # updateF7App( # options = list( # theme = "md" # ) # ) # }) # # observeEvent(input$enable_darkmode, { # updateF7App( # options = list( # dark = TRUE # ) # ) # }) # # observeEvent(input$disable_darkmode, { # updateF7App( # options = list( # dark = FALSE # ) # ) # }) # # lapply(names(colors), function(color) { # observeEvent(input[[paste0("color_", color)]], { # updateF7App( # options = list( # color = colors[color] # ) # ) # }) # }) # # } # ) ## ----eval=TRUE, echo=FALSE---------------------------------------------------- card( shinyMobile:::create_app_link( "NobwRAdghgtgpmAXGKAHVA6ASmANGAYwHsIAXOMpMAdzgCMAnRRAVwhiLdIAoAdMAPQsAzgwEAbAJZ0BWCdIZQGATwHCAFpIjKAskTqTxcfgEpeEWo2ZbhpKOPF8IAAmf8NW3fsPG851wxwqETCzgC8zgR8YOqkpKjCiAICDFrkDABmUARwGADmkqTqLHQYkkQpaXCZ2XAAtNRQwjB1BIoQAqbmZhDmUoxKytwe2j39iirDmtp6BkY95iPKAILoTq4skuHOGQDsAApQeXDrrs6khUbb-ACqqAAmUOTOq6j8uP5newDKWnlGABkoMpODxPmdnNAAG50JTbPYAOSgMKU3AupCuEVuDyecBe6FMHxcEJ2uwAQuIiAQANYAFUuJ2xj2eewAIpJ7EQ8pESBlJHkWIoLiRCeCvrtvnA8vAyKcSaSySw4iQ5fLnFpUEqAJL3a5gPJERXK3p+Ylqtxgb7qIjUUnszncgCM-DFEJMRPNeyNpBVrpJGu1uqx+sNSp9EAATO8-RD+FabXaOZTuVGwDHnO7016w76zWqA6QdXqWDjyNG8-KmbieRA+XkXRWzj15Zm882Mx7nMJqlDqvC2ARhRBuAXcM5QZrSGPu8JhOUICZnCAxfpuwxewBRXuygsAEgN3pIY+XjbZSa5qohkiDFvu57yztN5vRmIt9uT5wZ5efcAAHqQ9VpTRQkkUIoBrPkGBgZw7wdb81VIZRUDxYNiFrSQoIbFsxQAX3bVwVzoNdN23Hg9wPHNI2PP0zwdS8zhfFCLWWCAiCKPtYI-Rj4Plch-0A4D1TAlx7GqUgsJJfDnDw8xCOIuAtwoMiIEnXcS2ZOBqMbdTcQAMV2V56NcIhUCHUIIikWwjLOTiuW2SywUbeU6EogB5ak9QATTgKBfKgdQAEIePNZwXONABhKAIBycQ9VclgEoSIK0ycpt0yk1wMrcU9dnfC902vPVbLyVNO14hk9QAdSUCA-mCiFEOQvU0MgmB6oYv8AODAEiCIDynmceAxy1Zx1GRPFwIgOBbTC8NhGSv0ssrPMZLzT4cO6MAcIAXSAA", # nolint "app", header = FALSE ), full_screen = TRUE, style = "width: 393px; margin: 0 auto; float: none;" ) ## ----eval=FALSE--------------------------------------------------------------- # library(shiny) # library(shinyMobile) # # shinyApp( # ui = f7Page( # title = "Update App", # f7SingleLayout( # navbar = f7Navbar(title = "Update App"), # f7BlockTitle("Update f7Dialog configuration"), # f7Segment( # f7Button( # inputId = "goButton", # "Show f7Dialog 1" # ), # f7Button( # inputId = "goButton2", # "Show f7Dialog 2" # ), # f7Button( # inputId = "update", # "Update config" # ) # ), # ) # ), # server = function(input, output, session) { # observeEvent(input$goButton, { # f7Dialog( # id = "dialog1", # title = "Dialog title", # text = "This is a confirm dialog", # type = "confirm" # ) # }) # # observeEvent(input$goButton2, { # f7Dialog( # title = "Another dialog title", # text = "This is an alert" # ) # }) # # observeEvent(input$update, { # updateF7App( # options = list( # dialog = list( # buttonOk = "Yeaaaah!", # buttonCancel = "Ouuups!" # ) # ) # ) # # f7Dialog( # id = "dialog2", # title = "Warning", # type = "confirm", # text = "Look at me, I have a new buttons!" # ) # # }) # # } # ) ## ----eval=TRUE, echo=FALSE---------------------------------------------------- card( shinyMobile:::create_app_link( "NobwRAdghgtgpmAXGKAHVA6ASmANGAYwHsIAXOMpMAdzgCMAnRRAVwhiLdIAoAdMAPQsAzgwEAbAJZ0BWCdIZQGATwHCAFpIjKAskTqTxcfgEpeEWo2ZbhpKOPF8IAAmf8NW3fsPG851wxwqETCzgC8zgR8YOqkpKjCiAICDFrkDABmUARwGADmkqTqLHQYkkQpaXCZ2XAAtNRQwjB1BIoQAqbmZhDmUoxKytwe2j39iirDmtp6BkY95iPKAILoTq4skuHOGQDsAApQeXDrrs6khUbb-ACqqAAmUOTOAKJkhcr8uP5newDKWjyRgAMlBlJweD8zs5oAA3OhKbZ7AByUHhSm4F1IVwitweTzgzmyFxIzg0cDgpGcNjsEBypm+LmhO12fzgeXgZFOzJZACEWHESNyedSIKgBQBJe7XMB5Ij8wW9PxMkXOcRQOhwcQygDiRAAhPwocyTIzVXsFaQhcaeVpxaQpTKWPjyF8bcz1ZrtbiwHdHs9iBAMpI8kaVSazSKLQKrRBhbaxZLpT7AsJKW7wzzPVqZVg4GnSGHVT0eSWzmXTT80wxYdUkWwCCS43aBbhnBD7W208JhOUICZnCBjfpq7WXrWuS3SAASOWWkhtoeZlnLRt9v7qCmQ5euPKpZPOAAqWBuL0jtoP-GJfYAjBnVXQYyRQhEpLZ4x7JO-3TzyAAPKkfWRIgLmDAgnj7e9VTOSRAyRXYJUDaItAyIgGR-ZliHEIgGG2ZEbmBYEMNcSsdzON9t2gs5-0AtwwAAEUkewiFDZUqNcWDSQiPZEOtMApDyWJH3EOgAH1gwcdCyOhLCcLwgiiOk5wy1Ld0VOcABfBZwxHaoxwnHgp2nZ1-TgRd3RMgkADFdjeLEhgwyRLxQNcSDvNiRSIVAmxfNUv0o6DH0VXyKI-LN-LCkUaJlYDQNgiCSCg9jqTg7iEKQ-gULQsBSOS1xZNwiJ8MI4jy1K9ToQq5TjS08xhzoUc4HHChDMTGdU0pczl0s8gbLsj5IqcmVrzcpLmS8nztlC0qgtjEKItK1xpqU6FoqAkDJDAhKlXPdjOJcNLeLjTKg2y3K8oK+SSpW5TdtVZa8vOOAAJlRjmNYu7oP2+CjuiAShJYETxMMcQpMey6ioUxbqqUqqSLUmqyw07owA0gBdIA", # nolint "app", header = FALSE ), full_screen = TRUE, style = "width: 393px; margin: 0 auto; float: none;" ) ## ----eval=FALSE--------------------------------------------------------------- # library(shiny) # library(shinyMobile) # # shinyApp( # ui = f7Page( # title = "Update Entity", # f7SingleLayout( # navbar = f7Navbar(title = "Update action sheet instance"), # f7Segment( # f7Button( # inputId = "goButton", # label = "Go!" # ), # f7Button( # inputId = "update", # label = "Update config" # ), # f7Button( # inputId = "reset", # label = "Reset" # ) # ) # ) # ), # server = function(input, output, session) { # observeEvent(input$goButton, { # f7ActionSheet( # grid = TRUE, # id = "action1", # buttons = list( # list( # text = "Notification", # icon = f7Icon("info"), # color = NULL # ), # list( # text = "Dialog", # icon = f7Icon("lightbulb_fill"), # color = NULL # ) # ) # ) # }) # # observeEvent(input$update, { # updateF7Entity( # id = "action1", # options = list( # buttons = list( # list( # text = "Notification", # icon = f7Icon("info"), # color = NULL # ) # ) # ) # ) # }) # # observeEvent(input$reset, { # updateF7Entity( # id = "action1", # options = list( # buttons = list( # list( # text = "Notification", # icon = f7Icon("info"), # color = NULL # ), # list( # text = "Dialog", # icon = f7Icon("lightbulb_fill"), # color = NULL # ) # ) # ) # ) # }) # } # ) ## ----eval=TRUE, echo=FALSE---------------------------------------------------- card( shinyMobile:::create_app_link( "NobwRAdghgtgpmAXGKAHVA6ASmANGAYwHsIAXOMpMAdzgCMAnRRAVwhiLdIAoAdMAPQsAzgwEAbAJZ0BWCdIZQGATwHCAFpIjKAskTqTxcfgEpeEWo2ZbhpKOPF8IAAmf8NW3fsPG851wxwqETCzgC8zgR8YOqkpKjCiAICDFrkDABmUARwGADmkqTqLHQYkkQpaXCZ2XAAtNRQwjB1BIoQAqbmZhDmUoxKytwe2j39iirDmtp6BkY95iPKAILoTq4skuHOGQDsAApQeXDrrs6khUbb-ADiUCzHwvy4-md7AMpaeUYAMlDKnB4rzOzmgADc6EptnsAHJQCFKbgXUhXCL8PZ3B6+EwvFwgna7d5wPLwMinfEEgBCLDiJHJFOcWlQNIAkgATa5gFioNlQcjPYEM8RQOhwcScgCqPL5cGcmOO-EFFJxSreu2ptIg9IpTNZHLRYECwjgpAFeIZzmFovFBqwcGNprAqpBPWVuIpe0p4iIBAA1tq1fKTs6zpJ9W4wDBlHl7gq-OaGaRlKhZQbjTBJARJAwCEYzRbXGD7CxU84AKwABndBboRAYbOqAGEiN6GJyAMQAJgAjABOABsGQAzPma3WGwwAOphorbbtVkOF4twABiJFInwAXqWACzd6sWoviEsAFTgAA9SM3Wx2ewPh6OLVaxWfL5zYJwyM4iBlnMIiPARRfIqCYuqqrpnBBKp4saDBgtU0JsAQFx0rqpC4N+NLMuhf72sI5QQCYzggIK+iwfBACi8FkmhAAk3K8uQGEkaBoJwNQAD6R7OAAPHUzi7GWqoMTKK67BRZCFEMIZhpyUYxlij74kQqAoRAoQRFItgBiC7bODoIikM4orGSatAUM4FbOFAEAct2i7OEeJbbBA7FcfYzgCM485Vm4rEgk5cCvkZESoE05AVtwrmcUeGH8AApKYB5CiKL4XiFEYwuxlqpeIACEIEWhBYEJgAvsVfkgmR1SUdRPB0UaJrMcJ0rkGJEnItJ-mMuG-DybGvjJVVqkERplqSNpDmBdslaed5FYLt1S7HkF6WcpWiXxgWOXWsF74cFw36-v+gHTHkhUMhVrgVeVryld0YClQAukAA", # nolint "app", header = FALSE ), full_screen = TRUE, style = "width: 393px; margin: 0 auto; float: none;" ) ## ----eval=FALSE--------------------------------------------------------------- # library(shiny) # library(shinyMobile) # # shinyApp( # ui = f7Page( # title = "Gauges", # f7SingleLayout( # navbar = f7Navbar(title = "f7Gauge"), # f7Segment( # f7Button( # inputId = "update", # label = "Update Gauge" # ), # f7Button( # inputId = "reset", # label = "Reset" # ) # ), # f7Block( # f7Gauge( # id = "mygauge", # type = "semicircle", # value = 50, # borderColor = "#2196f3", # borderWidth = 10, # valueFontSize = 41, # valueTextColor = "#2196f3", # labelText = "amount of something" # ) # ) # ) # ), # server = function(input, output, session) { # observeEvent(input$update, { # new_val <- 75 # updateF7Entity( # id = "mygauge", # options = list( # # Must be between 0 and 1 # value = new_val / 100, # valueText = paste0(new_val, "%"), # labelText = "New label!" # ) # ) # }) # # observeEvent(input$reset, { # updateF7Entity( # id = "mygauge", # options = list( # value = 50 / 100, # valueText = "50%", # labelText = "amount of something" # ) # ) # }) # } # ) ## ----eval=TRUE, echo=FALSE---------------------------------------------------- card( shinyMobile:::create_app_link( "NobwRAdghgtgpmAXGKAHVA6ASmANGAYwHsIAXOMpMAdzgCMAnRRAVwhiLdIAoAdMAPQsAzgwEAbAJZ0BWCdIZQGATwHCAFpIjKAskTqTxcfgEpeEWo2ZbhpKOPF8IAAmf8NW3fsPG851wxwqETCzgC8zgR8YOqkpKjCiAICDFrkDABmUARwGADmkqTqLHQYkkQpaXCZ2XAAtNRQwjB1BIoQAqbmZhDmUoxKytwe2j39iirDmtp6BkY95iPKAILoTq4skuHOGQDsAApQeXDrrs6khUbb-DrKzmio-Lj+Z3sAylp5RgAyUMqcPBeZ2c0AAbnQlNs9gA5KDgpTcC6kK4Rfh7b6SWymZ4uYE7XZvOB5eBkU54-EAIRYcRIZPJzi0qGpAEkACbXMAsVCsqDkJ5A+niKB0ODiDkAVW5vN8AuBJhx9Mp1NItNleMZLPZqLAgWEcFI-NxiqFIrF2qwcD1BrAatcPXJ8rV6MxgKNioZWrcYBgymIZGypGEhvdZw4rLgHL9dgIgeDIecQvQ4iGAEZEABmXA7Ngx8oQbiSEzOEC2+nO2wAcQYnFQdPj50uEYi3wAogAVNstrBvYCSAC6CvrZ0TqGT3DTKYADFmMjmLrSAFZF8ukZnkGDcIxxarCYALvsme1Do8hgC+J-pF6PjtxeoYoOqULneYLECZpCzAPfWb1wmEeaLEs3RXZkIHDAAPAtPX4KMAyDPA3Ddes7AYY5SA5ABiH1YJjeCs1LY1hVFbY2ywcUWwvAV9DvB8WwfUkNVIAASLkeXILMgPJVjpQAMV2FsyEKIZSxgkho1jPwkLOIhUHnCBQgiKRbDrPETWIiIeOWb43hbUsLztAVzwFKi6BouA6IoHhGKY3V9Q4tVuPIPiBKRYSpNcUT-VwuNyRkuSFITF0VOBNSzWcUjyL0tULyMt0XlPbowFPPsgA", # nolint "app", header = FALSE ), full_screen = TRUE, style = "width: 393px; margin: 0 auto; float: none;" ) ## ----eval=FALSE--------------------------------------------------------------- # library(shiny) # library(shinyMobile) # # shinyApp( # ui = f7Page( # title = "My app", # f7SingleLayout( # navbar = f7Navbar(title = "f7List"), # f7Segment( # f7Button( # inputId = "update", # label = "Update" # ), # f7Button( # inputId = "reset", # label = "Reset" # ) # ), # f7List( # id = "mycontacts", # mode = "contacts", # lapply(1:3, function(i) { # f7ListGroup( # title = LETTERS[i], # lapply(1:10, function(j) f7ListItem(letters[j])) # ) # }) # ) # ) # ), # server = function(input, output, session) { # f7ListIndex(id = "contacts", # target = "#mycontacts", # label = TRUE) # # observeEvent(input$update, { # updateF7Entity( # "contacts", # options = list( # label = FALSE # ) # ) # }) # # observeEvent(input$reset, { # updateF7Entity( # "contacts", # options = list( # label = TRUE # ) # ) # }) # # } # ) ## ----eval=TRUE, echo=FALSE---------------------------------------------------- card( shinyMobile:::create_app_link( "NobwRAdghgtgpmAXGKAHVA6ASmANGAYwHsIAXOMpMAdzgCMAnRRAVwhiLdIAoAdMAPQsAzgwEAbAJZ0BWCdIZQGATwHCAFpIjKAskTqTxcfgEpeEWo2ZbhpKOPF8IAAmf8NW3fsPG851wxwqETCzgC8zgR8YOqkpKjCiAICDFrkDABmUARwGADmkqTqLHQYkkQpaXCZ2XAAtNRQwjB1BIoQAqbmZhDmUoxKytwe2j39iirDmtp6BkY95iPKAILoTq4skuHOGQDsAApQeXDrrs6khUbb-Hv76kSkRABCDETUwtX8uP5newDKWjyRgAMlBlJweD8zs5oAA3OhKbZ7AByUHhSm4F1IVwiNwO90eLzeHwYpm+LmhO12fzgeXgZFOlKpTxYcRIjKZzi0qFZAEkACbXMCPPJAuB3B5EL5QzniKB0ODiIUAeVQFGcqAJUrAMuhJnJnOZrMeEA5TO5fMFuLALFQ-Kg5GlFMNcoVSutAFU7Q7fLqzj0mQH-T99T8SbDqki2AQLuyLaRcM4ITyE84PsJhOUICZnCAZfpw3AAKIRhnxgAkIrFEseibzzt++MlRPe1TNZ0kVrcYE1ksYxOqAEYnYainB4EL7QwANYjzmkZRqoWoI6+A2c3uPUIRKS2dvQ3c8FgMd3d2LxRLJAj8iAYDKKeDUIgz3ZlCqoOU5e7ifnVNTBBhSGEOpBwABgAJgAFgADzAqCQIwAArVA8jJP0D0kPdj1PfhzwSJIBGvW971gOAnxfN8BA-Wpv1-MRhAAoCQIgmC4MgupwKQlC0IbJlD24bChTwy9CJvO8HzI59p1fcoqM-OBaL-BjnyYtjYJYuoAGYuNQvxeMNVwCDQWMXGtHQ4EiZQCCkCBdKDQN1yZIoWBgOht0ifczlwuJ8KvMSSMfKSZPfeTFPoxjgLUtiEOQ3THM5byLwIojxNI8jpMo6ivyIH8lIi5ioPU+DONiudDUS3zROIiT0uCuSaJyuj-xUyKWKK9jtNKnV9NcezgwbABfBYGwLaoIxLCgeArW17XIOs-Rmn0ADFdiLMhCiGdDu03fRXlbBhhz0w0iFQEz3P4rbXAXJdrWCHlUDKjcTttfYRHUbYABUsA9It4qcogcoRBhtiW5ZgT+X7Lo1LVzswyEerOfjBOtYTkv8mqgsy0LGrylqCtYjTBx0roEd6v7KWc1zYb3CqRJSgLJIo2SsoUnHwrxqLCeJsA+r1P0+qGn4Bu6MABoAXSAA", # nolint "app", header = FALSE ), full_screen = TRUE, style = "width: 393px; margin: 0 auto; float: none;" ) ## ----eval=FALSE--------------------------------------------------------------- # library(shiny) # library(shinyMobile) # # shinyApp( # ui = f7Page( # title = "f7PhotoBrowser", # f7SingleLayout( # navbar = f7Navbar(title = "f7PhotoBrowser"), # f7Segment( # f7Button( # inputId = "togglePhoto", # label = "Open photo" # ), # f7Button( # inputId = "update", # label = "Update" # ) # ) # ) # ), # server = function(input, output, session) { # observeEvent(input$togglePhoto, { # f7PhotoBrowser( # id = "photobrowser1", # theme = "dark", # type = "page", # photos = list( # list(url = "https://cdn.framework7.io/placeholder/sports-1024x1024-1.jpg"), # list(url = "https://cdn.framework7.io/placeholder/sports-1024x1024-2.jpg"), # list(url = "https://cdn.framework7.io/placeholder/sports-1024x1024-3.jpg", # caption = "Me cycling") # ), # thumbs = c( # "https://cdn.framework7.io/placeholder/sports-1024x1024-1.jpg", # "https://cdn.framework7.io/placeholder/sports-1024x1024-2.jpg", # "https://cdn.framework7.io/placeholder/sports-1024x1024-3.jpg" # ) # ) # }) # # observeEvent(input$update, { # updateF7Entity( # "photobrowser1", # options = list( # type = "popup", # popupPush = TRUE, # toolbar = FALSE, # photos = list( # list(url = "https://cdn.framework7.io/placeholder/sports-1024x1024-1.jpg") # ), # thumbs = list("https://cdn.framework7.io/placeholder/sports-1024x1024-1.jpg") # ) # ) # }) # } # ) ## ----eval=TRUE, echo=FALSE---------------------------------------------------- card( shinyMobile:::create_app_link( "NobwRAdghgtgpmAXGKAHVA6ASmANGAYwHsIAXOMpMAdzgCMAnRRAVwhiLdIAoAdMAPQsAzgwEAbAJZ0BWCdIZQGATwHCAFpIjKAskTqTxcfgEpeEWo2ZbhpKOPF8IAAmf8NW3fsPG851wxwqETCzgC8zgR8YOqkpKjCiAICDFrkDABmUARwGADmkqTqLHQYkkQpaXCZ2XAAtNRQwjB1BIoQAqbmZhDmUoxKytwe2j39iirDmtp6BkY95iPKAILoTq4skuHOGQDsAApQeXDrrs6khUbb-PtEqCyo-Lj+Z3sAylp5RgAyUMqcPBeZ2c0AAbnQlNs9gA5KDgpSnYGuC6kK4Rfh7W73R5gIFnEzPFxI95wPLwMiI4m7ABCLDiJEpSOcWnupAAkgATa5gUhEPJfXy4NxEpmucRQOhwcTcgAqfIFzixD34eOBBNVrxpdN5EEZSJZdM53IeHKg5CewtFZ3Fkul6LAAFVUKbyIq7sqwD0mV78S91UThNVQdUoWwCBcGQbSEKAayhYHhMJyhATM4QHjY3SACSBUIAHjqzkCEA51X2qQpUaz5AAHqQfa4M3RAwxgwBRYOViCs6vyoxC9MizVK1B61ySLn24LYp4a5GXODcnTKHaSBi2ZzTj2Eq17GVwOtjs78WukC03d2oSIkchkWdDpn8GWaUKSUIwFcZNcbrdXuDBhghTZZxhFoJQAEIVQffEd1FACIQuGB9zrAB5OlWWiXMumghtnAAX1wpsW3bTseCrE0zTgAcNQo8gADFdjbMhCiGOdmUnNwwF-e8rTuCMIFCCIpFsI9XFAyRUDgOUAGFxBCRcIhlLAHTbWCrSgCBJBgSjtjo5ZvjeVS2NcAg5MDFCIDbYQCDQBTnCUlS1NFABiZxpJvChSGcGARC84gyCgLRznURduOg4FXPFf46XA2LjOvMhPO2AByPMOUkUFInFRMwn4biwAAPni1w0oyrKmmEXKwFBSQ4GofgivC0VSsy0yKqq1Ajl8RqrStFrypy-gwQhBgGuK5r0ta7LKqGuERrqOg8gavMBEmnrer6yaBpmyA5qUOotAgaoxqajaSq2trBp5BcGpHFa1vGzaysunbUjyWITrOs683AupC2+LQAGtziILL5M3S9nD+9avr6qBtqqqQIGB39WjM7rZPklaoBh2HgXujLcbxgnQSJ77VsJx6zn6l6Oq61oPLvQqqfxi7pqqug5IIQGGuhOqEtvLyMGFkmyY20WqYl07qYp0n4tF5K2Nw1xcIIl48O6MA8IAXSAA", # nolint "app", header = FALSE ), full_screen = TRUE, style = "width: 393px; margin: 0 auto; float: none;" ) ## ----eval=FALSE--------------------------------------------------------------- # library(shiny) # library(shinyMobile) # # shinyApp( # ui = f7Page( # title = "Popup", # f7SingleLayout( # navbar = f7Navbar( # title = "f7Popup" # ), # f7Segment( # f7Button( # inputId = "toggle", # label = "Toggle Popup" # ), # f7Button( # inputId = "update", # label = "Update Popup") # ) # ) # ), # server = function(input, output, session) { # output$res <- renderPrint(input$text) # # observeEvent(input$toggle, { # f7Popup( # id = "popup", # title = "My first popup", # f7Text( # "text", "Popup content", # "This is my first popup ever, I swear!" # ), # verbatimTextOutput("res") # ) # }) # # observeEvent(input$update, { # updateF7Entity( # id = "popup", # options = list( # swipeToClose = TRUE, # animate = FALSE, # closeOnEscape = TRUE, # # Content must contain the popup # # layout!!! # content = '