You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<td>Prop to set a default limits to page sizes.</td>
141
151
</tr>
142
152
</tbody>
143
153
</table>
@@ -159,6 +169,10 @@
159
169
<td>tiny:change-page</td>
160
170
<td>Get the current page from pagination <code>payload: {page: 1}</code>.</td>
161
171
</tr>
172
+
<tr>
173
+
<td>tiny:change-limit</td>
174
+
<td>Get the current limit from pagination <code>payload: {limit: 10}</code>.</td>
175
+
</tr>
162
176
</tbody>
163
177
</table>
164
178
</div>
@@ -179,6 +193,7 @@
179
193
<pclass="tile-title"><spanclass="text-primary">[v0.1.0]</span> Initial commit and first release.</p>
180
194
<pclass="tile-title"><spanclass="text-primary">[v0.1.1]</span> Updated typo on README.md.</p>
181
195
<pclass="tile-title"><spanclass="text-primary">[v0.1.2]</span> Changed default pageSize from <code>15 to 10</code>. Added cursor <code>not-allowed</code> for disabled page-items.</p>
196
+
<pclass="tile-title"><spanclass="text-primary">[v0.2.1]</span> Added prop for items per page and event for <code>$emit</code> the current limit (<code>payload: {limit: 10}</code>). Added testing for minor functionality.</p>
182
197
</div>
183
198
</div>
184
199
</div>
@@ -204,6 +219,7 @@ export default {
204
219
return {
205
220
currentTotal:0,
206
221
currentPage:1,
222
+
currentLimit:10,
207
223
message:"A Vue component for create tiny pagination",
0 commit comments