1 line
7.5 KiB
JSON
1 line
7.5 KiB
JSON
|
|
{"type":"component","meta":{"docsUrl":"https://v2.quasar.dev/vue-components/pagination"},"props":{"model-value":{"desc":"Current page (must be between min/max)","required":true,"syncable":true,"category":"model","type":"Number"},"min":{"type":["Number","String"],"desc":"Minimum page (must be lower than 'max')","default":"1","category":"model","required":false},"max":{"type":["Number","String"],"desc":"Number of last page (must be higher than 'min')","required":true,"category":"model"},"dark":{"type":["Boolean","null"],"default":"null","desc":"Notify the component that the background is a dark color (useful when you are using it along with the 'input' prop)","category":"style","required":false},"size":{"type":"String","desc":"Button size in CSS units, including unit name","examples":["'20px'"],"category":"style"},"disable":{"type":"Boolean","desc":"Put component in disabled mode","category":"state"},"input":{"type":"Boolean","desc":"Use an input instead of buttons","category":"content"},"icon-prev":{"type":"String","desc":"Icon name following Quasar convention; Make sure you have the icon library installed unless you are using 'img:' prefix; If 'none' (String) is used as value then no icon is rendered (but screen real estate will still be used for it)","examples":["'map'","'ion-add'","'img:https://cdn.quasar.dev/logo-v2/svg/logo.svg'","'img:path/to/some_image.png'"],"category":"content"},"icon-next":{"type":"String","desc":"Icon name following Quasar convention; Make sure you have the icon library installed unless you are using 'img:' prefix; If 'none' (String) is used as value then no icon is rendered (but screen real estate will still be used for it)","examples":["'map'","'ion-add'","'img:https://cdn.quasar.dev/logo-v2/svg/logo.svg'","'img:path/to/some_image.png'"],"category":"content"},"icon-first":{"type":"String","desc":"Icon name following Quasar convention; Make sure you have the icon library installed unless you are using 'img:' prefix; If 'none' (String) is used as value then no icon is rendered (but screen real estate will still be used for it)","examples":["'map'","'ion-add'","'img:https://cdn.quasar.dev/logo-v2/svg/logo.svg'","'img:path/to/some_image.png'"],"category":"content"},"icon-last":{"type":"String","desc":"Icon name following Quasar convention; Make sure you have the icon library installed unless you are using 'img:' prefix; If 'none' (String) is used as value then no icon is rendered (but screen real estate will still be used for it)","examples":["'map'","'ion-add'","'img:https://cdn.quasar.dev/logo-v2/svg/logo.svg'","'img:path/to/some_image.png'"],"category":"content"},"to-fn":{"type":"Function","desc":"Generate link for page buttons; For best performance, reference it from your scope and do not define it inline","params":{"page":{"type":"Number","desc":"Page number to navigate to"}},"returns":{"type":["Object","String"],"desc":"Object or String that can be passed to a <router-link> as 'to' parameter"},"examples":["page => ({ query: { page } })"],"category":"content"},"boundary-links":{"type":["Boolean","null"],"default":"null","desc":"Show boundary button links","category":"content","required":false},"boundary-numbers":{"type":["Boolean","null"],"default":"null","desc":"Always show first and last page buttons (if not using 'input')","category":"content","required":false},"direction-links":{"type":["Boolean","null"],"default":"null","desc":"Show direction buttons","category":"content","required":false},"ellipses":{"type":["Boolean","null"],"default":"null","desc":"Show ellipses (...) when pages are available","category":"content","required":false},"max-pages":{"type":["Number","String"],"default":"0","desc":"Maximum number of page links to display at a time; 0 means Infinite","category":"content","required":false},"flat":{"type":"Boolean","desc":"Use 'flat' design for non-active buttons (it's the default option)","category":"style"},"outline":{"type":"Boolean","desc":"Use 'outline' design for non-active buttons","category":"style"},"unelevated":{"type":"Boolean","desc":"Remove shadow for non-active
|