Skip to content
This repository was archived by the owner on Oct 5, 2019. It is now read-only.

Commit 6056c0e

Browse files
committed
add back-link-force prop
Fixes #427
1 parent 3f13685 commit 6056c0e

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

src/components/nav-left.vue

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
icon="icon-back"
88
:class="{'icon-only': (backLink === true || backLink && $theme.md)}"
99
:text="backLink !== true && !$theme.md ? backLink : undefined"
10+
:force="backLinkForce || undefined"
1011
@click="onBackClick"
1112
></f7-link>
1213
<slot></slot>
@@ -21,6 +22,7 @@
2122
const NavLeftProps = Utils.extend({
2223
backLink: [Boolean, String],
2324
backLinkUrl: String,
25+
backLinkForce: Boolean,
2426
sliding: Boolean,
2527
}, Mixins.colorProps);
2628

src/components/navbar.vue

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
const NavbarProps = Utils.extend({
99
backLink: [Boolean, String],
1010
backLinkUrl: String,
11+
backLinkForce: Boolean,
1112
sliding: {
1213
type: Boolean,
1314
default: true,
@@ -40,6 +41,7 @@
4041
props: {
4142
backLink: self.backLink,
4243
backLinkUrl: self.backLinkUrl,
44+
backLinkForce: self.backLinkForce,
4345
},
4446
on: {
4547
'back-click': self.onBackClick,

0 commit comments

Comments
 (0)