Skip to content

Commit e6f9f37

Browse files
committed
Add back pWidget typing in subclasses
1 parent c2a9638 commit e6f9f37

File tree

4 files changed

+5
-0
lines changed

4 files changed

+5
-0
lines changed

packages/controls/src/widget_box.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,7 @@ export class BoxView extends DOMWidgetView {
136136
}
137137

138138
children_views: ViewList<DOMWidgetView> | null;
139+
pWidget: JupyterLuminoPanelWidget;
139140
lmWidget: JupyterLuminoPanelWidget;
140141

141142
static class_map = {

packages/controls/src/widget_controller.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -429,5 +429,6 @@ export class ControllerView extends DOMWidgetView {
429429
axis_box: Panel;
430430
button_box: Panel;
431431
model: ControllerModel;
432+
pWidget: JupyterLuminoPanelWidget;
432433
lmWidget: JupyterLuminoPanelWidget;
433434
}

packages/controls/src/widget_selectioncontainer.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,7 @@ export class AccordionView extends DOMWidgetView {
209209
}
210210

211211
children_views: ViewList<DOMWidgetView> | null;
212+
pWidget: Accordion;
212213
lmWidget: Accordion;
213214
updatingChildren: boolean;
214215
}
@@ -423,6 +424,7 @@ export class TabView extends DOMWidgetView {
423424

424425
updatingTabs = false;
425426
childrenViews: ViewList<DOMWidgetView> | null;
427+
pWidget: JupyterLuminoTabPanelWidget;
426428
lmWidget: JupyterLuminoTabPanelWidget;
427429
}
428430

packages/html-manager/src/output.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,5 +69,6 @@ export class OutputView extends outputBase.OutputView {
6969

7070
model: OutputModel;
7171
private _outputView: OutputArea;
72+
pWidget: Panel;
7273
lmWidget: Panel;
7374
}

0 commit comments

Comments
 (0)