20 |
21 | // example 1
22 |
23 |
24 | // example 2 => with background color
25 |
26 |
27 | // example 3 => with single data
28 |
29 |
30 | // example 4 => with multiple data
31 |
32 |
33 |
34 |
35 |
61 | ```
62 | #### Props
63 | |Props|Description|Type|Required|Example|
64 | |-----|-----------|----|--------|-------|
65 | |totalPage|Total paginate|Number|true|10|
66 | |currentPage|Current page|Number|false|2|
67 | |myData|For callback data without process|String|false|'myname'|
68 | |withNextPrev|To show or hide button next/prev|Boolean|false|true|
69 | |nextText|Text for button Next|String|false|'Next'|
70 | |prevText|Text for button Prev|String|false|'Prev'|
71 | |activeBGColor|Background color|String|false|'primary'|
72 | |customActiveBGColor|Background color custom|String|false|'#bb06a9'|
73 |
--------------------------------------------------------------------------------
/src/components/App.vue:
--------------------------------------------------------------------------------
1 |