I'm wanting to perform a collapse effect the moment I change the item in the slider below. When I change the item, I get the service, various information reloading my child component (performed a ngFor). I would like to do the close and open effect on item change. In the bootsrap documentation, I have to click to close and another to open. Is it possible with just one click (changing the item in the slider) to perform the event of opening and closing the div being rendered?
If you have another feature of moving the div doing the loading effect in the navigation of the slider, please feel free.
I'm using the ng5-slider component link
"(valueChange)" - call my service method inside my .ts component to return the data.
Thankyouinadvanceforyourattention.
HTMLfrommySlider
<ng5-slider[(value)]="value" (valueChange)="ServiceItem()" [options]="options"></ng5-slider>
Div that is rendered in the change while browsing the slider
<div id="collapseExample">
<div *ngFor="let itemLinhas of itens" class="card-block g-pa-0">
<app-gridcoberturas [itensProdutos]="itemLinhas"></app-gridcoberturas>
</div>
</div>