Skip to content

Commit

Permalink
added pagination vue
Browse files Browse the repository at this point in the history
  • Loading branch information
siddiquipro committed Apr 9, 2024
1 parent dff0ffd commit 8bb045a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/masc/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "masc-vue",
"private": false,
"version": "0.3.1",
"version": "0.3.2",
"source": "src/index.ts",
"main": "./dist/index.umd.js",
"module": "./dist/index.es.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/masc/src/components/table/s-pagination.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<template>
<nav class="flex items-center font-semibold px-4 py-1 text-sm gap-4 s-pagination">
<div v-if="showTotal" class="s-pagination-total">Total: {{ total }}</div>
<div class="w-32 s-pagination-per-page">
<div v-if="showPerPage" class="w-32 s-pagination-per-page">
<select class="select select-sm w-full" :value="perPage" @change="perPageChanged">
<option v-for="(p, i) in rowsPerPage" :key="i" :value="p">{{ p }} per page</option>
</select>
Expand Down
Loading

0 comments on commit 8bb045a

Please sign in to comment.