one_button_page | R Documentation |
Creates a page with a prompt and one button which, when clicked, advances to the next page. This is typically used for giving the participant information about the test.
one_button_page(
body,
admin_ui = NULL,
button_text = "Next",
on_complete = NULL
)
body |
Page body. Can be either a character scalar (e.g.
"Welcome to the test!") or an object of class "shiny.tag",
e.g. |
admin_ui |
Optional UI component for the admin panel. |
button_text |
Text to display on the button. Should be a character scalar. |
on_complete |
Optional function to execute on leaving the page
(after successful validation).
The argument list should include |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.