You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
564 B
24 lines
564 B
import {Component} from '@angular/core';
|
|
import {EditorNodeContract} from '../EditorNode.contract';
|
|
|
|
@Component({
|
|
selector: 'editor-norm',
|
|
templateUrl: './norm.component.html',
|
|
styleUrls: ['./norm.component.scss'],
|
|
})
|
|
export class NormComponent extends EditorNodeContract {
|
|
public isFocused = false;
|
|
|
|
public isDirty(): boolean | Promise<boolean> {
|
|
return false; // TODO implement
|
|
}
|
|
|
|
onFocusIn(event: MouseEvent) {
|
|
this.isFocused = true;
|
|
}
|
|
|
|
onFocusOut(event: MouseEvent) {
|
|
this.isFocused = false;
|
|
}
|
|
}
|