button_next: Go to the next page

View source: R/questionnaire_helpers.R

button_nextR Documentation

Go to the next page

Description

Buttons to navigate between pages.

Usage

button_next(label = "Weiter")

button_previous(label = "Zurück")

Arguments

label

What label the button should have.

Value

shiny Action Button

Functions

  • button_previous(): Go to the previous page

See Also

new_page()

Examples



## Not run: 
very_simple_page <- new_page(
  page_id = "example",
  render = function(session, run_before_output, input, output, ...) {
    list(
      shiny::tags$h1("My test page"),
      button_previous(),
      button_next()
    )
  }
)

## End(Not run)

occupationMeasurement documentation built on Sept. 27, 2023, 5:08 p.m.