title: Angular PrimeNg- Callback on SideNav close
body: <p>I am using this primeng link- <a href="https://www.primefaces.org/primeng/#/sidebar" rel="nofollow noreferrer">https://www.primefaces.org/primeng/#/sidebar</a></p>
  
  <p>I am trying to get a callback or call a method <code>sidenavClosed()</code> which should get triggered when sidebarnav gets closed either way (either by clicking outside sidebarnav or closing with close icon or any event).</p>
  
  <p><a href="https://stackblitz.com/edit/primeng-template-zvbmdq?file=app%2Fapp.component.ts" rel="nofollow noreferrer">https://stackblitz.com/edit/primeng-template-zvbmdq?file=app%2Fapp.component.ts</a></p>