Skip to content

Commit

Permalink
Backward compatibility on processPhosphorMessage
Browse files Browse the repository at this point in the history
  • Loading branch information
martinRenou committed Aug 28, 2024
1 parent b24fa6b commit b43c054
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions packages/base/src/widget.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1205,6 +1205,13 @@ export class DOMWidgetView extends WidgetView {
return super.remove();
}

/**
* @deprecated Use {@link processLuminoMessage} instead (Since 8.0).
*/
processPhosphorMessage(msg: Message): void {
this.processLuminoMessage(msg);
}

processLuminoMessage(msg: Message): void {
switch (msg.type) {
case 'after-attach':
Expand Down

0 comments on commit b43c054

Please sign in to comment.