Angular – Responsiveness with @HostListener()

This is a short example of how to programmatically build responsiveness into a component. So when the user changes the size of the screen, the listener will get the dimensions in real-time so you can adjust columns or text sizes accordingly. Import the following into your component. First Scenario – When the component is first