Skip to content

Commit 0e5c199

Browse files
committed
Call superclass in postCreate - 3D example
1 parent 4e2c093 commit 0e5c199

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

builder-3d/widgets/MyWidget/setting/Setting.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ class Setting {
1919
baseClass = 'my-widget-setting';
2020

2121
postCreate(args: any) {
22-
//the config object is passed in
22+
let self: any = this;
23+
self.inherited(arguments);
2324
this.setConfig(this.config);
2425
};
2526

0 commit comments

Comments
 (0)