Topic: mdb-squeezebox animation not working in mdb-tab
Dharmen Milestone asked 7 years ago
Damian Gemza staff answered 7 years ago
<div class="container"> <!-- Nav tabs --> <mdb-tabset [buttonClass]="'classic-tabs tabs-cyan'" [contentClass]="'card'"class="classic-tabs"> <!--Panel 1--> <mdb-tab heading="Profile"> <div class="row"> <div class="col-12"> <!--Accordion wrapper--> <mdb-squeezebox [multiple]="false"aria-multiselectable="true"> <mdb-item [collapsed]="false" *ngFor="let item of itemsList"> <mdb-item-head> {{ item.title }} </mdb-item-head> <mdb-item-body> {{ item.description }} </mdb-item-body> </mdb-item> </mdb-squeezebox> <!--/.Accordion wrapper--> </div> </div> </mdb-tab> <!--Panel 2--> <mdb-tab heading="Follow"> <div class="row"> <div class="col-12"> <br> <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Nihil odit magnam minima, soluta doloribus reiciendis molestiae placeat unde eos molestias. Quisquam aperiam, pariatur. Tempora, placeat ratione porro voluptate odit minima.</p> <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Nihil odit magnam minima, soluta doloribus reiciendis molestiae placeat unde eos molestias. Quisquam aperiam, pariatur. Tempora, placeat ratione porro voluptate odit minima.</p> </div> </div> </mdb-tab> <!--Panel 3--> <mdb-tab heading="Contact"> <div class="row"> <div class="col-12"> <br> <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Nihil odit magnam minima, soluta doloribus reiciendis molestiae placeat unde eos molestias. Quisquam aperiam, pariatur. Tempora, placeat ratione porro voluptate odit minima.</p> </div> </div> </mdb-tab> <mdb-tab heading="Be awesome"> <div class="row"> <div class="col-12"> <br> <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Nihil odit magnam minima, soluta doloribus reiciendis molestiae placeat unde eos molestias. Quisquam aperiam, pariatur. Tempora, placeat ratione porro voluptate odit minima.</p> </div> </div> </mdb-tab> </mdb-tabset> </div>
public itemsList: Object[] = [ { title:'Collapsible Group Item #1', description:'Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS.' }, { title:'Collapsible Group Item #2', description:'Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS.' }, { title:'Collapsible Group Item #3', description:'Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS.' } ];
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- User: Free
- Premium support: No
- Technology: MDB Angular
- MDB Version: -
- Device: -
- Browser: -
- OS: -
- Provided sample code: No
- Provided link: No
Dharmen Milestone commented 7 years ago
You can check it with https://mdbootstrap.com/angular/components/tabs/#classic-tabs and put https://mdbootstrap.com/angular/advanced/collapse/#accordion in any of the tab. Animation is not working.