Skip to content

Commit

Permalink
correct comment
Browse files Browse the repository at this point in the history
  • Loading branch information
nielslyngsoe committed Nov 12, 2024
1 parent 5d821be commit 76dc563
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/uui-modal/lib/uui-modal.element.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
});
Expand Down Expand Up @@ -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));

Expand Down

0 comments on commit 76dc563

Please sign in to comment.