Skip to content

Commit f59ebe1

Browse files
authored
More Phosphor backward compatibility (#3942)
1 parent a177940 commit f59ebe1

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

packages/base/src/widget.ts

+7
Original file line numberDiff line numberDiff line change
@@ -1242,6 +1242,13 @@ export class DOMWidgetView extends WidgetView {
12421242
return this.luminoWidget;
12431243
}
12441244

1245+
/**
1246+
* @deprecated Use {@link luminoWidget} instead (Since 8.0).
1247+
*/
1248+
set pWidget(value: Widget) {
1249+
this.luminoWidget = value;
1250+
}
1251+
12451252
el: HTMLElement; // Override typing
12461253
'$el': any;
12471254
luminoWidget: Widget;

0 commit comments

Comments
 (0)