(onChange: () => void)
| 69 | } |
| 70 | |
| 71 | private initButtons(onChange: () => void) { |
| 72 | this.overridesButton = this.domRoot.find('.btn.show-overrides'); |
| 73 | |
| 74 | this.overridesWidget = new CompilerOverridesWidget(this.overridesButton, onChange); |
| 75 | |
| 76 | this.runtimeToolsButton = this.domRoot.find('.btn.show-runtime-tools'); |
| 77 | if (this.runtimeToolsButton.length > 0) { |
| 78 | this.runtimeToolsWidget = new RuntimeToolsWidget(this.runtimeToolsButton, onChange); |
| 79 | } |
| 80 | } |
| 81 | |
| 82 | private initCallbacks() { |
| 83 | this.overridesButton.on('click', () => { |