From 76dc5634a9e25cf148b969446753679a9266dab7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niels=20Lyngs=C3=B8?= Date: Tue, 12 Nov 2024 20:59:32 +0100 Subject: [PATCH] correct comment --- packages/uui-modal/lib/uui-modal.element.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/uui-modal/lib/uui-modal.element.ts b/packages/uui-modal/lib/uui-modal.element.ts index 04417552e..a5fcea1d4 100644 --- a/packages/uui-modal/lib/uui-modal.element.ts +++ b/packages/uui-modal/lib/uui-modal.element.ts @@ -52,7 +52,7 @@ export class UUIModalElement extends LitElement { const openEvent = new CustomEvent(UUIModalOpenEvent, { cancelable: true, }); - // TODO: get rid of 'open'-event sometime in the future. [NL] + // TODO: get rid of legacy 'open'-event sometime in the future. [NL] const legacyOpenEvent = new CustomEvent('open', { cancelable: true, }); @@ -89,7 +89,7 @@ export class UUIModalElement extends LitElement { this.isOpen = false; this._dialogElement?.close(); - // TODO: get rid of 'close-end'-event sometime in the future. [NL] + // TODO: get rid of legacy 'close-end'-event sometime in the future. [NL] this.dispatchEvent(new CustomEvent('close-end')); this.dispatchEvent(new CustomEvent(UUIModalCloseEndEvent));