f7MultiLayout {shinyMobile} | R Documentation |
Framework7 multi pages layout
Description
Experimental multi pages layout. This has to be used with the brochure R package. See in the corresponding pkgdown article.
Usage
f7MultiLayout(
...,
toolbar = NULL,
title = NULL,
options = f7DefaultOptions(),
allowPWA = FALSE,
basepath = "/"
)
Arguments
... |
Pages. Must be an element like
|
toolbar |
Contrary to f7SingleLayout or any other layout, the multi page layout can have a common toolbar for all pages. See more at https://framework7.io/docs/toolbar-tabbar#common-toolbar. You can pass f7Toolbar in this slot or f7Tabs but if you do so, don't pass any toolbar in the different pages elements. |
title |
Page title. |
options |
shinyMobile configuration. See f7DefaultOptions and https://framework7.io/docs/app.html. Below are the most notable options. General options:
Touch module options https://framework7.io/docs/app#param-touch:
Navbar options https://framework7.io/docs/navbar#navbar-app-parameters:
Toolbar options https://framework7.io/docs/toolbar-tabbar#toolbar-app-parameters:
In any case, you must follow the same structure as provided in the function arguments. |
allowPWA |
Whether to include PWA dependencies. Default to FALSE. |
basepath |
Useful when the app is deployed on a server like https://user.shinyapps.io/base_path. |