Skip to content

Commit 77d21ad

Browse files
authored
Merge pull request #5 from MiikroKimiro/master
Bootstrap 4.0 Ready
2 parents b93dda6 + 6962a60 commit 77d21ad

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/laravel-vue-pagination.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,12 @@ module.exports = {
2323
},
2424

2525
template: '<ul class="pagination" v-if="data.total > data.per_page">\
26-
<li v-if="data.prev_page_url">\
27-
<a href="#" aria-label="Previous" @click.prevent="selectPage(--data.current_page)"><span aria-hidden="true">&laquo;</span></a>\
26+
<li class="page-item" v-if="data.prev_page_url">\
27+
<a class="page-link" href="#" aria-label="Previous" @click.prevent="selectPage(--data.current_page)"><span aria-hidden="true">&laquo;</span></a>\
2828
</li>\
29-
<li v-for="n in getPages()" :class="{ \'active\': n == data.current_page }"><a href="#" @click.prevent="selectPage(n)">{{ n }}</a></li>\
30-
<li v-if="data.next_page_url">\
31-
<a href="#" aria-label="Next" @click.prevent="selectPage(++data.current_page)"><span aria-hidden="true">&raquo;</span></a>\
29+
<li class="page-item" v-for="n in getPages()" :class="{ \'active\': n == data.current_page }"><a class="page-link" href="#" @click.prevent="selectPage(n)">{{ n }}</a></li>\
30+
<li class="page-item" v-if="data.next_page_url">\
31+
<a class="page-link" href="#" aria-label="Next" @click.prevent="selectPage(++data.current_page)"><span aria-hidden="true">&raquo;</span></a>\
3232
</li>\
3333
</ul>',
3434

0 commit comments

Comments
 (0)