You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Long story short:
I'd like to have 2 Swiper on a Vue page but in a way that one of them stays completely disabled (and enable it later when some conditions are fulfilled).
The problem is when I call register() for the other one - which I want to be enabled - the should-be-disabled Swiper element is also got half initialised.
I checked the source code and from it it seems that this is not achievable at the moment but I'm not sure.
So does anybody have a workaround or something for this?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hey,
Long story short:
I'd like to have 2 Swiper on a Vue page but in a way that one of them stays completely disabled (and enable it later when some conditions are fulfilled).
The problem is when I call
register()
for the other one - which I want to be enabled - the should-be-disabled Swiper element is also got half initialised.I checked the source code and from it it seems that this is not achievable at the moment but I'm not sure.
So does anybody have a workaround or something for this?
Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions