handleOutsideClick method private presentation
Last updated: 2026-03-04T23:21:38.428Z
Metrics
LOC: 6
Complexity: 4
Params: 1
Signature
handleOutsideClick(e: MouseEvent): : void
Source Code
private handleOutsideClick(e: MouseEvent): void {
if (!this._open) return;
if (this.root && !this.root.contains(e.target as Node)) {
this.close();
}
}
No outgoing dependencies.
No incoming dependencies.