"...git@scm.cms.hu-berlin.de:iqb/verona-modules-aspect.git" did not exist on "36fb583afc584eafcd61d4b273a5c144cbc2c515"
Newer
Older
AfterContentChecked,
Directive, ElementRef
import { UIElement } from '../interfaces/elements';
export abstract class ElementComponent implements AfterContentChecked {
constructor(public elementRef: ElementRef) {}
get domElement(): Element {
return this.elementRef.nativeElement;
}
ngAfterContentChecked(): void {
this.project = this.elementRef.nativeElement.closest('aspect-element-splitter') ? 'player' : 'editor';