add lib translate texts
This commit is contained in:
parent
fc4d89f77e
commit
45a36f4736
23 changed files with 298 additions and 14 deletions
|
@ -0,0 +1,19 @@
|
|||
import { Component } from '@angular/core';
|
||||
import {FormsModule} from '@angular/forms';
|
||||
|
||||
@Component({
|
||||
selector: 'lib-translate-texts',
|
||||
imports: [
|
||||
FormsModule
|
||||
],
|
||||
templateUrl: './translate-texts.html',
|
||||
styleUrl: './translate-texts.css'
|
||||
})
|
||||
export class TranslateTexts {
|
||||
public fromText : string = ''
|
||||
public toText : 'fromText' | 'toText' | '' = ''
|
||||
|
||||
emptyText(someText: 'fromText' | 'toText'){
|
||||
this[someText] = '';
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue