-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
[collapse] Add Accordion support, ARIA, and test suite #519
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
[collapse] Add Accordion support, ARIA, and test suite #519
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
Resync with master
Resync with master
Resync with master
Resync with master
Adds support for accordion by adding a new accordion prop that identifies a group of collapses. When the collapse in the accordion group is shown, it emits an `accordion::toggle` event on $root to signal other collapses in this accordion group to close.
Adds ARIA support to directive v-b-toggle
Handle transition time
Does this implementation of an Accordion support nested items? Can I create an Accordion within |
Is this fiddle covers your question? |
You're the man! |
Second example was not saved... Now all ok. And with next release BV will allow to use v-b-toggle directive on any element at page, even if it hasn't Vue instance. |
Adds Accordion support to
b-collapse
.Collapses can be turned into an accordion by setting the prop
accordion
on the collapse components to a common group identifier name. Uses eventaccordion::toggle
emitted on $root to signal other collapses in the group to closeAdds ARIA compliance support to directive
v-b-toggle
Addresses issue #513
Includes updated documentation and a test suite
Working example: https://jsfiddle.net/ya15m7dv/