How to call angular function when click p-dialog close(X) button?

Discussão em 'Angular' iniciado por Ramesh Rajendran, Março 10, 2025.

  1. How to call angular function when click p-dialog close(X) button?


    I have searched and just tried this (onHide)="cancel()" . But it's not working. Kindly share your solutions.
    ​

    I know we can use a close/cancel button to hide the popup. But in my scenario I want to call an event when clicking the (X) button click.

    Continue reading...

Compartilhe esta Página