Skip to content

Commit 11e3aaf

Browse files
author
Pooya Parsa
committed
feat: support options.tough
1 parent d99e05b commit 11e3aaf

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

Diff for: lib/module.js

+1
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,7 @@ const defaults = {
169169
routes: {},
170170
statusbar: {},
171171

172+
touch: {},
172173
view: {
173174
main: true,
174175
pushState: true,

Diff for: lib/templates/f7-plugin.js

+5-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,11 @@ export default async function framework7({ app }, inject) {
1717
Vue.use(Framework7Vue, Framework7)
1818

1919
// Framework7 options
20-
app.framework7 = <%= serialize({mode: options.mode,view: options.view}).replace(/"__([^_]+)__"/g,"$1") %>
20+
app.framework7 = <%= serialize({
21+
mode: options.mode,
22+
view: options.view,
23+
touch: options.touch
24+
}).replace(/"__([^_]+)__"/g, "$1") %>
2125

2226
// Routes
2327
app.framework7.routes = routes

0 commit comments

Comments
 (0)