-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(accordion): add key navigation to accordion (#4192)
- Changed accordion component template, changed `div` to `button` - Changed accordion demo `Custom html`, changed `div` to `button` - Changed visual presentation of accordion headings because of tag `button`
- Loading branch information
1 parent
b4c0bcb
commit 69b35b3
Showing
2 changed files
with
7 additions
and
7 deletions.
There are no files selected for viewing
10 changes: 5 additions & 5 deletions
10
demo/src/app/components/+accordion/demos/custom-html/custom-html.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
<accordion> | ||
<accordion-group> | ||
<div accordion-heading class="clearfix"> | ||
I can have markup! | ||
<button class="btn btn-link btn-block clearfix" accordion-heading> | ||
<div class="pull-left float-left">I can have markup!</div> | ||
<span class="badge badge-secondary float-right pull-right">Some HTML here</span> | ||
</div> | ||
</button> | ||
This is just some content to illustrate fancy headings. | ||
</accordion-group> | ||
<accordion-group> | ||
<div accordion-heading> | ||
<button class="btn btn-link" accordion-heading> | ||
I can have markup, too! | ||
</div> | ||
</button> | ||
<span class="badge badge-secondary center">And some HTML here</span> | ||
</accordion-group> | ||
</accordion> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters