framework7io / framework7-vue

Deprecated! Build full featured iOS & Android apps using Framework7 & Vue
http://framework7.io/vue/
MIT License
674 stars 151 forks source link

Changing framework7 options on the go doesn't affect the app #418

Closed iamabdeldayem closed 6 years ago

iamabdeldayem commented 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

This is a (multiple allowed):

What you did

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()

Also when I pass rtl: true in new Framework7() options, nothing change.

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.

Expected Behavior

Actual Behavior

I've checked this issue: https://github.com/framework7io/framework7/issues/1389

but it doesn't help.

nolimits4web commented 6 years ago

It is by design and changing LTR to RTL is not supported on the fly, you have to change stylesheet and reinit the app