I'm working on an Angular 7 project and now I have to develop a page structured with an upper and static part where user can choose between different options, using mat-select material component. Based on the option selected I want to show a different content in the page.
<div>
<div>
<mat-select>
<mat-option>option1</mat-option>
<mat-option>option2</mat-option>
<mat-option>option3</mat-option>
</mat-select>
</div>
...here I want to change dinamically between content1 || content2 || content3 based on the selection above...
</div>
How can I control the content dinamically, based on the selection?
Thank you in advance, and please let me know if you need more detail.