0
I am wanting to perform a Collapse effect at the time I change item in the slider below. When I change the item, I receive from the service, various information recharging my child component (performed an ngFor). I would like to do the closing and opening effect on the item change. In the documentation of Bootsrap, I have to perform a click to close and another to open. It is 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 resource to perform the div movement by performing the loading effect in the slider navigation, please feel free.
I’m using the ng5-slider component https://www.npmjs.com/package/ng5-slider
"(valueChange)" - calls my service method within my.ts component for data return.
Thanks in advance for your attention.
HTML from my Slider
<ng5-slider [(value)]="value" (valueChange)="ServiceItem()" [options]="options"></ng5-slider>
Div that is rendered in change during slider navigation
<div id="collapseExample">
<div *ngFor="let itemLinhas of itens" class="card-block g-pa-0">
<app-gridcoberturas [itensProdutos]="itemLinhas"></app-gridcoberturas>
</div>
</div>
Put the code as text so you don’t have to type all this to help you...
– LipESprY
@Upti made the update that Oce requested. Thanks in advance for the support. Please see if it meets your need. Thank you.
– Bruno Leite
Any personal thoughts ? @Upti, can I help you with something else ?
– Bruno Leite