dom-repeat and dom-if
<dom-module>
<template is="dom-repeat" items="[[officesRegions]]"
as="region"> <template is="dom-if"
if="{{checkRegionType(region.type)}}">
<div class="panel panel-default">
<div class="panel-heading">
<h4 class="panel-title">
<a data-toggle="collapse" class="collapsed"
href="{{computeUrl(region.regionsId)}}"
data-parent="#office-cities-acc" id="{{region.regionsId}}"> <span
class="chevron-down fa fa-chevron-down"></span>{{getNameByLang(region)}}
</a>
</h4>
</div>
</div>
</template> </template></dom-module>