Skip to contents

The package

An overview, and where to start.

brochure brochure-package
brochure: Multipage 'Shiny' Apps

Building an app

The two functions that replace shinyApp() and organise its pages.

brochureApp()
Create a brochureApp
page()
A Brochure Page

Moving between pages

Sending the browser somewhere else, from the router or from the server.

redirect()
Redirection
server_redirect()
Do a server side redirection

Reading the url

The values a parameterised href matched.

get_keys()
Get the keys of a parameterised page

Cookies

Setting cookies from a response handler, and reading them back from a page server.

set_cookie() remove_cookie()
Middleware to set cookies
parse_cookie_string() get_cookies()
Read the cookies sent with a request

golem

Using brochure inside a golem application.

golem_hook()
Golem Hook function
new_page()
Add page