Add update_selection/1
to dynamically update (append, filter etc) the selection
#68
Labels
enhancement
New feature or request
Instead of using 2 new options, one to pass a filter and the other to append to the selection, my suggestion would be to generalize the approach by passing an
update_selection/1
function that receives the whole selection and returns the new one:append case:
filter case:
2 birds with a stone. And this general approach will hopefully accommodate future use cases.
What do you think?
EDIT: this would also make sense in
single
modeOriginally posted by @maxmarcon in #64 (comment)
The text was updated successfully, but these errors were encountered: