()
| 109 | readonly answerRevealed = signal<boolean>(false); |
| 110 | |
| 111 | constructor() { |
| 112 | effect(() => { |
| 113 | const tutorialData = this.tutorialData(); |
| 114 | const path = this.path(); |
| 115 | const label = this.label(); |
| 116 | const parent = this.parent(); |
| 117 | if (!tutorialData || !path || !label) { |
| 118 | return; |
| 119 | } |
| 120 | untracked(() => this.setTutorialData({path, label, parent, tutorialData})); |
| 121 | }); |
| 122 | |
| 123 | const destroyRef = inject(DestroyRef); |
| 124 | afterNextRender(() => { |
| 125 | this.splitResizerHandler.init( |
| 126 | this.elementRef, |
| 127 | this.content()!, |
| 128 | this.resizer(), |
| 129 | this.editor(), |
| 130 | ); |
| 131 | |
| 132 | from(this.loadEmbeddedEditorComponent()) |
| 133 | .pipe(takeUntilDestroyed(destroyRef)) |
| 134 | .subscribe((editorComponent) => { |
| 135 | this.embeddedEditorComponent.set(editorComponent); |
| 136 | }); |
| 137 | }); |
| 138 | } |
| 139 | |
| 140 | toggleNavigationDropdown($event: MouseEvent): void { |
| 141 | // Stop propagation required to avoid detecting click inside ClickOutside |
nothing calls this directly
no test coverage detected