Skip to content

Commit

Permalink
fix(ngx-layout): remove deprecated/unused input options
Browse files Browse the repository at this point in the history
  • Loading branch information
damien-guillermet committed Jul 25, 2024
1 parent e174fe9 commit 73defb9
Showing 1 changed file with 2 additions and 22 deletions.
24 changes: 2 additions & 22 deletions projects/layout/src/layout.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,6 @@ export class NgxLayoutComponent {
protected mediaService = inject(NgxMediaService);
protected sidenavService = inject(NgxSidenavService);

private _withEditorToolbar = true;

public get layoutToolbar(): TemplateRef<unknown> | undefined {
return this.layoutToolbarExternal ?? this.layoutToolbarContent;
}
Expand All @@ -80,15 +78,6 @@ export class NgxLayoutComponent {
return value;
}

@Input()
public set withEditorToolbar(value: BooleanInput) {
this._withEditorToolbar = coerceBooleanProperty(value);
}

public get withEditorToolbar(): BooleanInput {
return this._withEditorToolbar;
}

private _withSidenav = false;

@Input()
Expand All @@ -101,6 +90,7 @@ export class NgxLayoutComponent {
}

private _keepFilterButtonDisplayed = true;

@Input()
public set keepFilterButtonDisplayed(value: BooleanInput) {
this._keepFilterButtonDisplayed = coerceBooleanProperty(value);
Expand All @@ -111,6 +101,7 @@ export class NgxLayoutComponent {
}

private _withCloseButton = false;

@Input()
public set withCloseButton(value: BooleanInput) {
this._withCloseButton = coerceBooleanProperty(value);
Expand All @@ -131,17 +122,6 @@ export class NgxLayoutComponent {
return this._withBackButton;
}

private _displayEditorToolbar = true;

@Input()
public set displayEditorToolbar(value: BooleanInput) {
this._displayEditorToolbar = coerceBooleanProperty(value);
}

public get displayEditorToolbar(): BooleanInput {
return this._displayEditorToolbar;
}

public closeSideFilter(): void {
void this.sideFilter?.close();
}
Expand Down

0 comments on commit 73defb9

Please sign in to comment.