我编写了以下代码:
<div>
<div id="app" class="container">
<div class="grid">
<article v-for="tool in tools">
<div class="title">
<h3>{{capitalizeFirstLetter(tool.name)}}</h3>
</div>
<div class="description">
{{tool.description}}
</div>
<br>
<div>
<toggle-button :value=tool.status color="#82C7EB" :width=100 :height=30 :sync="true" :labels="{checked: 'Following', unchecked: 'Unfollowing'}" @change="onChange(tool)"/>
</div>
</article>
</div>
</div>
</div>
最近,我开始使用Bootstrap-Vue。我试图弄清楚如何在底部添加pagination。我不确定aria-controls
的工作方式。我的目标是每页上有9个tools
块。如何添加分页,以便可以移至tools
的下9个块?