aboutsummaryrefslogtreecommitdiffstats
path: root/cds-ui/client/src/app/feature-modules/blueprint/select-template/select-template.component.ts
diff options
context:
space:
mode:
Diffstat (limited to 'cds-ui/client/src/app/feature-modules/blueprint/select-template/select-template.component.ts')
-rw-r--r--cds-ui/client/src/app/feature-modules/blueprint/select-template/select-template.component.ts16
1 files changed, 12 insertions, 4 deletions
diff --git a/cds-ui/client/src/app/feature-modules/blueprint/select-template/select-template.component.ts b/cds-ui/client/src/app/feature-modules/blueprint/select-template/select-template.component.ts
index 78a0d1b1f..b4356a601 100644
--- a/cds-ui/client/src/app/feature-modules/blueprint/select-template/select-template.component.ts
+++ b/cds-ui/client/src/app/feature-modules/blueprint/select-template/select-template.component.ts
@@ -19,7 +19,7 @@ limitations under the License.
============LICENSE_END============================================
*/
import { Component, OnInit } from '@angular/core';
-import { Observable} from 'rxjs';
+import { Observable } from 'rxjs';
import { Store } from '@ngrx/store';
@Component({
@@ -29,10 +29,18 @@ import { Store } from '@ngrx/store';
})
export class SelectTemplateComponent implements OnInit {
blueprint: any
- constructor() {
- }
+ myFile: File; /* property of File type */
- ngOnInit() {
+ constructor() {
}
+ ngOnInit() {
+ }
+ fileChange(files: any) {
+ console.log(files);
+ this.myFile = files[0].nativeElement;
+ }
+ upload(){
+
+ }
}