topcoat-data / topcoat-public

TopCoat components, visualizations and themes
MIT License
1 stars 3 forks source link

add onFiltersUpdated to TMultiSelector #238

Closed benbarnett closed 1 year ago

benbarnett commented 1 year ago

What this does

Allowing this component to react to changes to the filter value made from outside.

If there is a filter value set, then re-run the visualisation init. Also clears the checked array on init in case the new filter value is empty.

Notes for the reviewer

Instructions on how to run this locally, background context, what to review, best to review commit-by-commit?, questions…

Missed anything?

More information

Screenshots / GIFs

Visuals that may help the reviewer. Please add screenshots, including URL if applicable, for any front end change. GIFs are most welcome!