How to access the active image inside gallery and remove it from a menu button #537
Answered
by
MurhafSousli
DantonGodoy
asked this question in
Q&A
-
Hey! Im new to your dependency and I'm trying to figure out on how to accomplish the following: HTML:
TS:
How can I access the index of the active image from the GalleryComponent API (or other API) and remove only this picture from gallery? Great work on the project, by the way! |
Beta Was this translation helpful? Give feedback.
Answered by
MurhafSousli
Apr 6, 2023
Replies: 1 comment 1 reply
-
You can get the active index from the gallery state snapshot |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
MurhafSousli
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can get the active index from the gallery state snapshot
gallery.galleryRef.stateSnapshot.currIndex