具有.owl-carousel-item类的细分被包装到其他.owl-item div中。
<div class="keyword-wrapper">
<i class=" icon-search"></i>
<input type="text" [(ngModel)]="searchSubCat" autocomplete="off" class="form-control" placeholder="Search Genre"/>
</div>
<owl-carousel [options]="subCatSlider" [items]="subCats" [carouselClasses]="['owl-theme', 'sliding']">
<div class="item" *ngFor="let subCat of subCats | filter:searchSubCat">
<div><a> {{subCat.name}} </a></div>
</div>
</owl-carousel>