Skip to content

Commit

Permalink
accordion icon rotation added
Browse files Browse the repository at this point in the history
  • Loading branch information
Merve7 committed Aug 5, 2019
1 parent 84b4de0 commit 2d2b121
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/accordion/Accordion.vue
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export default {
<div key={tab.header||i} class="p-accordion-tab">
<div class={['p-accordion-header', {'p-highlight': tab.d_active, 'p-disabled': tab.disabled}]}>
<a role="tab" on-click={event => this.onTabClick(event, tab)} on-keydown={event => this.onTabKeydown(event, tab)} tabindex={tab.disabled ? null : '0'}>
<span class="p-accordion-toggle-icon pi pi-fw pi-caret-right"></span>
<span class={['p-accordion-toggle-icon pi pi-fw ',{'pi-caret-right': !tab.d_active, 'pi-caret-down': tab.d_active}]}></span>
{tab.header && <span class="p-accordion-header-text">{tab.header}</span>}
{tab.$slots.header}
</a>
Expand Down

0 comments on commit 2d2b121

Please sign in to comment.