Fires an Event with the (initial) dimensions of a DOM element and also whenever the dimensions change
Install
npm i angular2-dimensions-directive --save
Import the directive to your project and use it in your Component defining an event handler that is called whenever the dimensions of the element change