Tag: click event
Why is toggling a search box in a header so difficult in Angular 2?
In Angular 2 I have the following pseduocode… … As you can see I have a header with a search form container that has the class ‘visible’ when the variable ‘showSearch’ is true, and ‘invisible’ otherwise. As a component by itself with this html, this works fine. When the user clicks the search icon showSearch […]