title: Angular 2 - invoke function if JQuery selector :visible of a DOM element changes
body: <p>I have a  element with an CSS 'background-image' and want to listen to the visibility of that element in an Angular 2 project. If the visibility changes, I want to invoke a function. I've tried it with (ngModelChange) in my  element, but the function was not invoked, when the visibility changes.
  Is there another way to achieve this?</p>
  
  <pre><code>&lt;span (ngModelChange)="doSomething($event)" class="navbar-toggler-icon"&gt;&lt;/span&gt;
  </code></pre>