【发布时间】:2022-01-29 00:53:39
【问题描述】:
这里我附上了我的代码。什么是只扩展我只按的卡的解决方案?
<div *ngFor="let edsrecord of listofEDS">
<div class="available_data_sources_block" id="accordion">
<div class="card">
<div class="card-header" id="headingOne">
<h5 class="mb-0">
<button class="btn btn-link" data-toggle="collapse" data-target="#collapseOne" aria-expanded="true"
aria-controls="collapseOne">
{{edsrecord.dataSources[0].ERPName.toString()}}
</button>
</h5>
</div>
<div id="collapseOne" class="collapse show" aria-labelledby="headingOne" data-parent="#accordion">
<div class="card-body">
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.
</div>
</div>
</div>
</div>
</div>
【问题讨论】:
-
您好,感谢您为 SO 做出贡献。查看How do I ask a good question? 上的本指南请提供更多详细信息以及与该问题相关的 .ts 和 .css 部分
-
嗨,这个问题没有ts和css
标签: html angular frontend ngfor card