<div class="list"> <div (click)="showCharacter(item?.name)" class="character" *ngFor="let item of CharacterMeshList"> <h1>{{item?.name}}</h1> </div> </div> <canvas id="renderCanvas" touch-action="none"></canvas>