Skip to content

Commit

Permalink
feat(accordion): remove type from configuration
Browse files Browse the repository at this point in the history
BREAKING CHANGES:

`NgbAccordionConfig` doesn't have `type` property anymore. It was deprecated in `14.1.0`.
  • Loading branch information
maxokorokov committed Nov 6, 2023
1 parent de31bf2 commit ed7732a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
1 change: 0 additions & 1 deletion src/accordion/accordion-config.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,5 @@ describe('ngb-accordion-config', () => {

expect(config.closeOthers).toBe(false);
expect(config.destroyOnHide).toBe(true);
expect(config.type).toBeUndefined();
});
});
5 changes: 0 additions & 5 deletions src/accordion/accordion-config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,6 @@ export class NgbAccordionConfig {
closeOthers = false;
destroyOnHide = true;

/**
* @deprecated 14.1.0
*/
type: string;

get animation(): boolean {
return this._animation ?? this._ngbConfig.animation;
}
Expand Down

0 comments on commit ed7732a

Please sign in to comment.