Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is the class of the swiper-container web component exported somewhere? #400

Open
JulienLecoq opened this issue Apr 24, 2024 · 0 comments
Open

Comments

@JulienLecoq
Copy link

I would like to have access to the class of this web component in my Angular application in order to create a query using a type predicate like the following: angular viewchild query targeting the component.

The only thing I've found is the interface exported here: import { SwiperContainer } from 'swiper/element' but for a type predicate we need the class of the component.

Currently, I'm using the string predicate but I would prefer using the type predicate for simple use case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant