diff --git a/packages/base/src/widget.ts b/packages/base/src/widget.ts index 376ee23f57..f57110a312 100644 --- a/packages/base/src/widget.ts +++ b/packages/base/src/widget.ts @@ -885,6 +885,11 @@ export class JupyterLuminoWidget extends Widget { private _view: DOMWidgetView; } +/** + * @deprecated Use {@link JupyterLuminoWidget} instead (Since 8.0). + */ +export const JupyterPhosphorWidget = JupyterLuminoWidget; + export class JupyterLuminoPanelWidget extends Panel { constructor(options: JupyterLuminoWidget.IOptions & Panel.IOptions) { const view = options.view; @@ -1167,6 +1172,14 @@ export class DOMWidgetView extends WidgetView { this.el.removeAttribute('tabIndex'); } } + + /** + * @deprecated Use {@link luminoWidget} instead (Since 8.0). + */ + get pWidget(): Widget { + return this.luminoWidget; + } + el: HTMLElement; // Override typing '$el': any; luminoWidget: Widget;