From 5aedee95d0882b8777e6e62d098faa3b31d0b185 Mon Sep 17 00:00:00 2001 From: m7pr Date: Mon, 16 Oct 2023 11:28:43 +0200 Subject: [PATCH] update docs --- man/landing_popup.Rd | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/man/landing_popup.Rd b/man/landing_popup.Rd index df4439ea9..98b276b63 100644 --- a/man/landing_popup.Rd +++ b/man/landing_popup.Rd @@ -22,7 +22,7 @@ can be used in a \code{teal::init(extra_server = )} parameter. app1 <- teal::init( data = teal.data::dataset("iris", iris), modules = teal::modules( - teal.modules.general::tm_front_page('A') + teal.modules.general::tm_front_page("A") ), extra_server = teal.modules.general::landing_popup( title = "Welcome", @@ -37,12 +37,12 @@ if (interactive()) { app2 <- teal::init( data = teal.data::dataset("iris", iris), modules = teal::modules( - teal.modules.general::tm_front_page('A') + teal.modules.general::tm_front_page("A") ), extra_server = teal.modules.general::landing_popup( title = "Welcome", content = div(tags$b("A place for the welcome message or a disclaimer statement.", style = "color: red;")), - buttons = tagList(modalButton("Proceed"), actionButton('close', 'Read more', onclick = "window.open('http://google.com', '_blank')")) + buttons = tagList(modalButton("Proceed"), actionButton("close", "Read more", onclick = "window.open('http://google.com', '_blank')")) ) ) @@ -50,5 +50,4 @@ if (interactive()) { shinyApp(app2$ui, app2$server) } - }