New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[pagination] disabled prop #456
Conversation
Should address issue #396
Coerce slide nodelist into an Array
Resync with master
Resync with master
Resync with master
Resync with master
Resync with master
Resync with master
Resync with master
Allow pagination widget to be disabled
@@ -1,5 +1,5 @@ | |||
<template> | |||
<div class="input-group-addon" :id="id"> | |||
<div class="input-group-addon" :id="id || null"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure how this got in this PR, but it is OK.
lib/components/pagination.vue
Outdated
@@ -230,6 +241,10 @@ | |||
} | |||
}, | |||
props: { | |||
disabled: { | |||
type: Boolean, | |||
default: 3 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why this is 3 ? :))
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oops, Typo
Typo fix
Adds a
disabled
prop to pagination component, which will disable the buttons (links) when set totrue