Skip to content

refactor Tag and TagCollection to use an Event Subject / Observer

Adrien Dorsaz requested to merge event-on-tag-selection into main

This permits to clean both class constructors (their properties only need what define them).

The 'selection-updated' event from TagCollection is used by the filterArticleByTag method so it doesn't need any more to rely on DOM state.

Merge request reports

Loading