Skip to content

Commit

Permalink
Refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
cetincakiroglu committed Dec 28, 2022
1 parent f87ca9e commit 6e6c2c8
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/app/components/accordion/accordion.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,14 +108,6 @@ export class AccordionTab implements AfterContentInit, OnDestroy {
return this._selected;
}

get iconClass() {
if (this.iconPos === 'end') {
return 'p-accordion-toggle-icon-end';
} else {
return 'p-accordion-toggle-icon';
}
}

set selected(val: any) {
this._selected = val;

Expand All @@ -128,6 +120,14 @@ export class AccordionTab implements AfterContentInit, OnDestroy {
}
}

get iconClass() {
if (this.iconPos === 'end') {
return 'p-accordion-toggle-icon-end';
} else {
return 'p-accordion-toggle-icon';
}
}

contentTemplate: TemplateRef<any>;

headerTemplate: TemplateRef<any>;
Expand Down

0 comments on commit 6e6c2c8

Please sign in to comment.