brian treesebriantreese.hashnode.dev·Nov 17, 2023How to Use the Angular CDK Viewport Ruler for Responsive AppsSometimes, in an Angular app we need to trigger something when the viewport gets resized. Like in the demo app for this post, when we open a menu, and then resize, we want to close the menu automatically. How would you do this? Well, maybe you have s...Discussangular cdk viewport ruler