(changedProps: Map<PropertyKey, unknown>)
| 65 | private _modalRegistrations: Array<HotkeyRegistrationHandle> = [] |
| 66 | |
| 67 | override updated(changedProps: Map<PropertyKey, unknown>): void { |
| 68 | super.updated(changedProps) |
| 69 | |
| 70 | if (this._scopedRegistrations.length === 0) { |
| 71 | this._registerScopedHotkeys() |
| 72 | } |
| 73 | |
| 74 | if (changedProps.has('modalOpen')) { |
| 75 | this._unregisterModal() |
| 76 | if (this.modalOpen) { |
| 77 | this._registerModalHotkeys() |
| 78 | this.modalRef.value?.focus() |
| 79 | } |
| 80 | } |
| 81 | } |
| 82 | |
| 83 | override disconnectedCallback(): void { |
| 84 | super.disconnectedCallback() |
nothing calls this directly
no test coverage detected