Angular Resize Event Angular 15, . StackBlitz playground. 0 which internally uses uses ResizeSensor from CSS Element Queries that is supported in IE. After upgrading it to 16. Aug 10, 2024 · I have an external library angular-resize-event. Dec 2, 2022 · For Angular 15, you can just use ngx-resize even the github repo is archived. For Angular 11 you can use version 2. I tried npm i --legacy-peer-deps too. There are 26 other projects in the npm registry using angular-resize-event. It is as simple as: It internally uses browser native ResizeObserver. My project was in angular 15 and now i am upgrading it to 18. This package was last updated 2 years ago. Therefore it is not supported in IE. While compiling it give IVY error. js, @angular/core, @angular/forms, @angular/common, @angular/router, @angular/compiler, @angular/animations, angular-resize-event, @angular/platform-browser and @angular/platform-browser-dynamic. Angular 14 directive for detecting changes of an element size. Jul 23, 2025 · One of the key features of Angular is its component-based architecture, which allows you to break your application into smaller, reusable pieces that can be easily shared and managed. Nov 16, 2025 · Abstract: This article provides an in-depth exploration of various methods for handling window resize events in Angular applications, including template event binding and HostListener decorator usage. Thank you, but when we'll be ready for Angular 16 we need to change the library again, which is not good. A angular-cli project based on rxjs, tslib, zone. Start using angular-resize-event in your project by running `npm i angular-resize-event`. 1. xai bi 6et xhsk 19rgyd odftu 7zpv dl yzr edhoxx