Skip to content

Commit

Permalink
More Phosphor backward compatibility (#3942)
Browse files Browse the repository at this point in the history
  • Loading branch information
martinRenou authored Aug 22, 2024
1 parent a177940 commit f59ebe1
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 @@ -1242,6 +1242,13 @@ export class DOMWidgetView extends WidgetView {
return this.luminoWidget;
}

/**
* @deprecated Use {@link luminoWidget} instead (Since 8.0).
*/
set pWidget(value: Widget) {
this.luminoWidget = value;
}

el: HTMLElement; // Override typing
'$el': any;
luminoWidget: Widget;
Expand Down

0 comments on commit f59ebe1

Please sign in to comment.