diff options
author | 2019-02-06 15:49:57 +0530 | |
---|---|---|
committer | 2019-02-06 15:49:57 +0530 | |
commit | 7375775ff3ee600fc1f8633dd21ec35f86c050b7 (patch) | |
tree | 3c72b9cecca46c0e58c05c666a33e45514bd144b /cds-ui/client/src/app/feature-modules/resource-definition/resource-creation/resource-creation.component.ts | |
parent | ec2777d46dc1d3027dff6ef1baf47e8fb36ef656 (diff) |
Resource creation template for CBA wizard
Change-Id: Ica72c5950f17f7e0ed6f886eeea2fcdda6c309c1
Issue-ID: CCSDK-804
Signed-off-by: sp00501638 <sp00501638@techmahindra.com>
Diffstat (limited to 'cds-ui/client/src/app/feature-modules/resource-definition/resource-creation/resource-creation.component.ts')
-rw-r--r-- | cds-ui/client/src/app/feature-modules/resource-definition/resource-creation/resource-creation.component.ts | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/cds-ui/client/src/app/feature-modules/resource-definition/resource-creation/resource-creation.component.ts b/cds-ui/client/src/app/feature-modules/resource-definition/resource-creation/resource-creation.component.ts index 08612d3ee..32dc3807d 100644 --- a/cds-ui/client/src/app/feature-modules/resource-definition/resource-creation/resource-creation.component.ts +++ b/cds-ui/client/src/app/feature-modules/resource-definition/resource-creation/resource-creation.component.ts @@ -19,6 +19,8 @@ */ import { Component, OnInit } from '@angular/core'; +import { Observable } from 'rxjs'; +import { Store } from '@ngrx/store'; @Component({ selector: 'app-resource-creation', @@ -27,9 +29,20 @@ import { Component, OnInit } from '@angular/core'; }) export class ResourceCreationComponent implements OnInit { - constructor() { } + myFile: File; /* property of File type */ - ngOnInit() { + constructor() { + } + + ngOnInit() { + } + + fileChange(files: any) { + console.log(files); + this.myFile = files[0].nativeElement; + } + + upload(){ + } - } |