mirror of
https://github.com/bitwarden/browser
synced 2026-02-11 22:13:32 +00:00
tabs module improvements part 2
This commit is contained in:
@@ -11,7 +11,7 @@ import { Directive, ElementRef, HostBinding, Input, input } from "@angular/core"
|
||||
selector: "[bitTabListItem]",
|
||||
})
|
||||
export class TabListItemDirective implements FocusableOption {
|
||||
readonly active = input<boolean>(undefined);
|
||||
readonly active = input<boolean>();
|
||||
// TODO: Skipped for signal migration because:
|
||||
// This input overrides a field from a superclass, while the superclass field
|
||||
// is not migrated.
|
||||
|
||||
@@ -63,7 +63,7 @@ export class TabGroupComponent
|
||||
@ViewChildren(TabListItemDirective) tabLabels: QueryList<TabListItemDirective>;
|
||||
|
||||
/** The index of the active tab. */
|
||||
// TODO: Skipped for migration because:
|
||||
// TODO: Skipped for signal migration because:
|
||||
// Accessor inputs cannot be migrated as they are too complex.
|
||||
@Input()
|
||||
get selectedIndex(): number | null {
|
||||
|
||||
@@ -35,7 +35,7 @@ export class TabLinkComponent implements FocusableOption, AfterViewInit, OnDestr
|
||||
fragment: "ignored",
|
||||
};
|
||||
|
||||
readonly route = input<string | any[]>(undefined);
|
||||
readonly route = input<string | any[]>();
|
||||
// TODO: Skipped for signal migration because:
|
||||
// This input overrides a field from a superclass, while the superclass field
|
||||
// is not migrated.
|
||||
|
||||
Reference in New Issue
Block a user