Replies: 2 comments
-
@nolimits4web, Could you please check the change to see if it is ok to create the PR? Thank you. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hi, i would avoid spamming host element with the classes as in 99% of the cases they are not needed here and can lead to some unexpected behavior. I would stick with using afterinit/init events instead |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello
I think it would be good to have the classNames for the hostEl (swiper-container) in Swiper element (WebComponent). In v9 we had the classNames for the swiper-container.
In my case, I need the
swiper-initialized
class to know when the Swiper is initialized. I know there are other approaches, such as using theswiperafterinit
event, but having the classNames makes it easier.If I am correct, the following changes will do it. I can create a PR if it is ok:
Ashkanph@bf38ac3
Beta Was this translation helpful? Give feedback.
All reactions