Use inside f7Page. Mandatory!
f7Init(
skin = c("ios", "md", "auto", "aurora"),
theme = c("dark", "light"),
filled = FALSE,
color = NULL,
tapHold = TRUE,
tapHoldDelay = 750,
pullToRefresh = FALSE,
iosTouchRipple = FALSE,
iosCenterTitle = TRUE,
iosTranslucentBars = FALSE,
hideNavOnPageScroll = FALSE,
hideTabsOnPageScroll = FALSE,
serviceWorker = NULL
)
App skin: "ios", "md", "auto" or "aurora".
App theme: "light" or "dark".
Color theme: See http://framework7.io/docs/color-themes.html. Expect a name like blue or red. If NULL, use the default color.
It triggers (if enabled) after a sustained, complete touch event. By default it is disabled. Note, that Tap Hold is a part of built-in Fast Clicks library, so Fast Clicks should be also enabled.
Determines how long (in ms) the user must hold their tap before the taphold event is fired on the target element. Default to 750 ms.
Whether to active the pull to refresh feature. Default to FALSE.
Default to FALSE. Enables touch ripple effect for iOS theme.
Default to TRUE. When enabled then it will try to position title at the center in iOS theme. Sometime (with some custom design) it may not needed.
Enable translucent effect (blur background) on navigation bars for iOS theme (on iOS devices). FALSE by default.
Default to FALSE. Will hide Navbars on page scroll.
Default to FALSE. Will hide tabs on page scroll.
Object with service worker module parameters. (Use for PWA).