give back the getter for container property (#12110)

* give back the getter for container property

* parameter type
This commit is contained in:
Alan Ren
2020-09-03 13:59:38 -07:00
committed by GitHub
parent 78ff0c7d93
commit 39d9eed585

View File

@@ -122,12 +122,12 @@ export class DashboardInput extends EditorInput {
}
}
set container(container: HTMLElement) {
set container(container: HTMLElement | undefined) {
this._disposeContainer();
this._parentContainer = container;
}
getContainer(): HTMLElement | undefined {
get container(): HTMLElement | undefined {
return this._parentContainer;
}