My Ionic 5 page, has multiple display options such as:
Code: Select all
<div *ngIf="page_option==1">
PAGE : 1
<div id="MainGuageA" class="mainguage"> </div>
</div>
<div *ngIf="page_option==2">
PAGE : 2
</div>
<div *ngIf="page_option==3">
PAGE : 3
</div>
<div *ngIf="page_option==4">
PAGE : 4
</div>
How can i set my chart to display only after page it correctly setup?