How to exit from ionic popup just tapping any where?

How to exit from ionic popup by just tapping any where not using button?

I dont have any button in popup .

made a popup with such a large button that it with your text inside the button.

But I also want it exit when tapping outside popup.

I didn’t get your above answer.

Not really the purpose of the popup.
Think about an alert on a webpage.
Can you dismiss that by click outside of it?

The point of the popup is to create an immutable alert. The only way to get rid of it is to interact with it.

For what you want, you’d probably be best off with a modal.

Thanks I got your point . I think modal would be best for that purpose.