A
A
ak_wi2018-11-01 18:14:59
Angular
ak_wi, 2018-11-01 18:14:59

How to properly track changes and re-render them in Angular 5?

There are checkboxes with filter names: red, blue, green. And a table with squares of different colors. Task: when selecting one or more filters, it is necessary to redraw the table, leaving only suitable options.
Two difficulties arose:
A) it is not clear what hook or other mechanism is needed to track changes in the checkbox?
b) after receiving the data from the checkboxes, which hook in the component can redraw the table, taking into account the new data received from the api?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question