Commonly-used Dialog configurations can be set globally at a central section of the code base so they don't have to be set each time.
Tech-savvy software developer and street photography enthusiast. Exploring the world through code and candid shots of daily life. 📸 All opinions are my own.
A five-year retrospective on my enterprise journey with INSCALE.
The approach we are going to take is heavily derived from our referenced article as well as from the Angular Material dialog implementation. That is, we are going to utilise @angular/animations to enable our component to slide-in and -out of the page.
Using the Angular CDK simplifies the process of creating custom components, providing a rich set of features at your disposal.
We utilize the default selectTitle router-selector to get the page title properly by making sure to set the title route config at the deepest or at the leaf node route. If not, then the title will be undefined.