Ionic 4 Modal Example

A modal is nothing but a page, which can be opened inside a page without destroying the page level data. Modals can be useful in many places. Say, for example, if you want to show the filter option for a search, then Modal is the best-suited one. If you open the filter option on another page, the search page result(page level data) will be deleted. So the best option for showing filter’s is modal.