mirror of
https://github.com/bitwarden/directory-connector
synced 2025-12-05 23:53:21 +00:00
* angular 18 upgrade * wip * wip * remove @types/glob, fix jest version, use standalone: false * clean up * npm ci
14 lines
290 B
TypeScript
14 lines
290 B
TypeScript
import { Directive, ElementRef, HostListener } from "@angular/core";
|
|
|
|
@Directive({
|
|
selector: "[appBlurClick]",
|
|
standalone: false,
|
|
})
|
|
export class BlurClickDirective {
|
|
constructor(private el: ElementRef) {}
|
|
|
|
@HostListener("click") onClick() {
|
|
this.el.nativeElement.blur();
|
|
}
|
|
}
|