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
{{ message }}
This repository has been archived by the owner on Jan 12, 2021. It is now read-only.
When using element.remove() you still have to manually remove the card from the original array. Instead I would suggest that the removal happens on the data rather than the element. Because if the original data object is removed, so will the element.
The text was updated successfully, but these errors were encountered:
Well this would make huge change in the way the component works since until now it only treat the display and not the data itself. Currently it is possible to splice the array item on element destruction with the onRelease callback but it could indeed be improved because it's impossible to know which card was swiped.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
When using
element.remove()
you still have to manually remove the card from the original array. Instead I would suggest that the removal happens on the data rather than the element. Because if the original data object is removed, so will the element.The text was updated successfully, but these errors were encountered: