Skip to content

Commit 4e2c093

Browse files
author
Mike Tschudi
committed
Call superclass in postCreate
#13
1 parent 3aa29df commit 4e2c093

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

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

2424
postCreate(args: any) {
25-
//the config object is passed in
25+
let self: any = this;
26+
self.inherited(arguments);
2627
this.setConfig(this.config);
2728
};
2829

0 commit comments

Comments
 (0)