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

Remove unused constructor from TextComponent

parent 6c38e1c0
No related branches found
No related tags found
No related merge requests found
import {
Component, ElementRef, EventEmitter, Output, ViewChild
} from '@angular/core';
import { DomSanitizer } from '@angular/platform-browser';
import { ElementComponent } from '../element-component.directive';
import { TextElement } from '../models/text-element';
......@@ -50,10 +49,6 @@ export class TextComponent extends ElementComponent {
@Output() applySelection = new EventEmitter<{ color: string, element: HTMLElement, clear: boolean }>();
@ViewChild('container') containerDiv!: ElementRef;
constructor(public sanitizer: DomSanitizer) {
super();
}
onClick(event: MouseEvent, markingValues: { color: string; element: HTMLElement; clear: boolean }) : void {
this.applySelection.emit(markingValues);
event.preventDefault();
......
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