diff options
author | 2020-02-21 11:34:03 +0000 | |
---|---|---|
committer | 2020-02-24 06:24:36 +0000 | |
commit | 1c0e11d0e8221eedbc86577501d5fd40d4890d7e (patch) | |
tree | b20d544f5a67b60f4ac1babf32c266679649879a /usecaseui-portal/src/app/Directives/disable-control.directive.ts | |
parent | 324c150c6bc6c81bfc35af23aa865cba2a1fccf4 (diff) |
USECASEUI-388 fixed and with additional changes
Fixed i18Resource, subtittle wrap and directive folder Path. Alos added few changes for adapting multiple templates.
Change-Id: Ie64485d24d11bcfd59be6c3c119dbccbc6c9b499
Issue-ID: USECASEUI-388
Signed-off-by: root <preethamshyam.sathiyaseelan@us.fujitsu.com>
Diffstat (limited to 'usecaseui-portal/src/app/Directives/disable-control.directive.ts')
-rw-r--r-- | usecaseui-portal/src/app/Directives/disable-control.directive.ts | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/usecaseui-portal/src/app/Directives/disable-control.directive.ts b/usecaseui-portal/src/app/Directives/disable-control.directive.ts deleted file mode 100644 index 85495401..00000000 --- a/usecaseui-portal/src/app/Directives/disable-control.directive.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { Directive, Input } from '@angular/core'; -import { NgControl } from '@angular/forms'; - -@Directive({ - selector: '[disableControl]' -}) -export class DisableControlDirective { - - @Input() - set disableControl(condition: boolean) { - const action = condition ? 'enable' : 'disable'; - this.ngControl.control[action](); - } - - constructor(private ngControl: NgControl) { - } -}
\ No newline at end of file |