Skip to content
Snippets Groups Projects
Commit b524ef52 authored by jojohoch's avatar jojohoch
Browse files

Fix loading spinner animation of geogebra element

parent 0ec1a128
No related branches found
No related tags found
No related merge requests found
import {
AfterViewInit, Component, ElementRef, EventEmitter, Input, OnDestroy, Output, Renderer2
} from '@angular/core';
import {
BehaviorSubject, debounceTime, Subject, Subscription
} from 'rxjs';
import { debounceTime, Subject, Subscription } from 'rxjs';
import { takeUntil } from 'rxjs/operators';
import { ElementComponent } from 'common/directives/element-component.directive';
import { GeometryElement } from 'common/models/elements/geometry/geometry';
......@@ -42,7 +40,7 @@ export class GeometryComponent extends ElementComponent implements AfterViewInit
@Input() appDefinition: string | undefined;
@Output() elementValueChanged = new EventEmitter<ValueChangeElement>();
isLoaded: BehaviorSubject<boolean> = new BehaviorSubject<boolean>(false);
isLoaded: Subject<boolean> = new Subject<boolean>();
geoGebraAPI!: any;
private ngUnsubscribe = new Subject<void>();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment