mirror of
https://github.com/bitwarden/browser
synced 2025-12-22 03:03:43 +00:00
UIF - Prefer signal & change detection (#16940)
This commit is contained in:
@@ -5,6 +5,8 @@ import { IconButtonModule } from "../icon-button/icon-button.module";
|
||||
import { SharedModule } from "../shared/shared.module";
|
||||
import { TypographyModule } from "../typography";
|
||||
|
||||
// FIXME(https://bitwarden.atlassian.net/browse/CL-764): Migrate to OnPush
|
||||
// eslint-disable-next-line @angular-eslint/prefer-on-push-component-change-detection
|
||||
@Component({
|
||||
selector: "bit-popover",
|
||||
imports: [A11yModule, IconButtonModule, SharedModule, TypographyModule],
|
||||
@@ -14,5 +16,7 @@ import { TypographyModule } from "../typography";
|
||||
export class PopoverComponent {
|
||||
readonly templateRef = viewChild.required(TemplateRef);
|
||||
readonly title = input("");
|
||||
// FIXME(https://bitwarden.atlassian.net/browse/CL-903): Migrate to Signals
|
||||
// eslint-disable-next-line @angular-eslint/prefer-output-emitter-ref
|
||||
@Output() closed = new EventEmitter();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user