Add message buttons to control the user flow

This commit is contained in:
Gabor PEK
2020-06-17 17:19:22 +02:00
parent 0f324a108b
commit 31cf75f63b
9 changed files with 65 additions and 25 deletions
+13
View File
@@ -0,0 +1,13 @@
import { Pipe, PipeTransform } from '@angular/core';
@Pipe({
name: 'capitalize',
})
export class CapitalizePipe implements PipeTransform {
transform(value: string): string {
if (!value) {
return '';
}
return value[0].toLocaleUpperCase() + value.toLocaleLowerCase().slice(1);
}
}