Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
`tapselect` and `tapunselect` events #1977
See below OP:
Is there a way to set an element's selection state (like
This is useful when the selection state must be restored programmatically e.g. on application launch or history pop (in a scenario when each interactive selection causes a history push).
In these cases the application must restore the (visual) state programmatically but without triggering the actions usually caused by interactive selection.
No, mutating the selected state emits a
You need additional (gesture) events. It sounds like most of your app code shouldn't be listening to
I'm glad it's working for you, but there is probably value in having direct support in the lib as well. It would be clearer, and would support more cases. The selection mode can be set differently from default. Using