Closed iamabdeldayem closed 6 years ago
Windows: 10 npm: 5.6.0 node: 8.11.1 framework7: 2.0.6 framework7-vue: 2.0.0 webpack: 3.3.0
Windows: 10
npm: 5.6.0
node: 8.11.1
framework7: 2.0.6
framework7-vue: 2.0.0
webpack: 3.3.0
This is a (multiple allowed):
I want to change the layout from ltr to rtl I've tried this.$f7.rtl = true this.$f7.init() and also this.$f7.params.rtl = true this.$f7.init()
ltr
rtl
this.$f7.rtl = true
this.$f7.init()
this.$f7.params.rtl = true
Also when I pass rtl: true in new Framework7() options, nothing change.
rtl: true
new Framework7()
When I change the style sheets from framework7.css to frmaework7.rtl.css it works. I want to change to rtl and ltr on the go.
framework7.css
frmaework7.rtl.css
I've checked this issue: https://github.com/framework7io/framework7/issues/1389
but it doesn't help.
It is by design and changing LTR to RTL is not supported on the fly, you have to change stylesheet and reinit the app
Windows: 10
npm: 5.6.0
node: 8.11.1
framework7: 2.0.6
framework7-vue: 2.0.0
webpack: 3.3.0
This is a (multiple allowed):
What you did
I want to change the layout from
ltr
tortl
I've triedthis.$f7.rtl = true
this.$f7.init()
and alsothis.$f7.params.rtl = true
this.$f7.init()
Also when I pass
rtl: true
innew Framework7()
options, nothing change.When I change the style sheets from
framework7.css
tofrmaework7.rtl.css
it works. I want to change to rtl and ltr on the go.Expected Behavior
ltr
tortl
Actual Behavior
ltr
tortl
layout.I've checked this issue: https://github.com/framework7io/framework7/issues/1389
but it doesn't help.