div class carousel onClick doSomethingDelegated h1 class carousel__tit

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
<div class="carousel" onClick="doSomethingDelegated">
<h1 class="carousel__title">{{= this.title }}</h1>
<div class="carousel__inner">
<ul>
{{ each( this.items, item) }}
<li onClick="openPopup">{{= item.name }}</li>
{{ endeach }}
</ul>
</div>
</div>