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

Impossible to put any html element between elements data-glide-el="track" and "glide__slides" (wrapper of glide__slide) #658

Open
mindaugasvcs opened this issue Apr 19, 2023 · 1 comment

Comments

@mindaugasvcs
Copy link

return Html.track.children[0]

Hello,
I recommend to use something like a WRAPPER_SELECTOR to get the wrapper element instead of using a simple children property. This way Glide can be even more customizable.

@mindaugasvcs mindaugasvcs changed the title Impossible to put any html element between elements data-glide-el="track" and "glide__slides" (glide__slide / wrapper) Impossible to put any html element between elements data-glide-el="track" and "glide__slides" (wrapper of glide__slide) Apr 19, 2023
@mindaugasvcs
Copy link
Author

I basically need it for hidden (display: none) input element to store state (grid or list).
Please have a look at my PR.

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