@optionfactory/ful 1.1.0 → 1.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ful.css +1 -1
- package/dist/ful.css.map +1 -1
- package/dist/ful.iife.js +2 -1
- package/dist/ful.iife.js.map +1 -1
- package/dist/ful.iife.min.js +1 -1
- package/dist/ful.iife.min.js.map +1 -1
- package/dist/ful.min.mjs +1 -1
- package/dist/ful.min.mjs.map +1 -1
- package/dist/ful.mjs +2 -1
- package/dist/ful.mjs.map +1 -1
- package/package.json +2 -2
package/dist/ful.mjs
CHANGED
|
@@ -2136,6 +2136,7 @@ class Pagination extends ParsedElement {
|
|
|
2136
2136
|
<ul class="pagination">
|
|
2137
2137
|
<li class="page-item ms-auto me-2" data-tpl-if="paginationLabel"> Showing page {{ curr.label }} of {{ total }}</li>
|
|
2138
2138
|
<li class="page-item ms-auto me-2" data-tpl-if="!paginationLabel"></li>
|
|
2139
|
+
<li class="page-item reload me-2"><a role="button"><i class="bi bi-arrow-clockwise"></i></a></li>
|
|
2139
2140
|
<li class="page-item">
|
|
2140
2141
|
<a data-tpl-class="prev.enabled?'page-link':'page-link disabled'" aria-label="Previous" role="button" data-tpl-data-page="prev.index">
|
|
2141
2142
|
<span aria-hidden="true">«</span>
|
|
@@ -2169,7 +2170,7 @@ class Pagination extends ParsedElement {
|
|
|
2169
2170
|
bubbles: true,
|
|
2170
2171
|
cancelable: true,
|
|
2171
2172
|
detail: {
|
|
2172
|
-
value: Number(el.dataset.page)
|
|
2173
|
+
value: Number(el.dataset.page ?? this.#current)
|
|
2173
2174
|
}
|
|
2174
2175
|
}));
|
|
2175
2176
|
|