Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
resetFilter function, to reset all active filter to their default state (no active filters)
resetFilters() {
this.activeFilters = [];
this.filteredData = this.data;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment