ec7767576a98bb0fd2995ccc037a5f932d70d828
[ccsdk/cds.git] /
1 /*\r
2 * ============LICENSE_START=======================================================\r
3 * ONAP : CDS\r
4 * ================================================================================\r
5 * Copyright 2019 TechMahindra\r
6 *\r
7 * Modifications Copyright (C) 2019 IBM\r
8 *=================================================================================\r
9 * Licensed under the Apache License, Version 2.0 (the "License");\r
10 * you may not use this file except in compliance with the License.\r
11 * You may obtain a copy of the License at\r
12 *\r
13 *     http://www.apache.org/licenses/LICENSE-2.0\r
14 *\r
15 * Unless required by applicable law or agreed to in writing, software\r
16 * distributed under the License is distributed on an "AS IS" BASIS,\r
17 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
18 * See the License for the specific language governing permissions and\r
19 * limitations under the License.\r
20 * ============LICENSE_END=========================================================\r
21 */\r
22 \r
23 import { Component, OnInit, Output, EventEmitter} from '@angular/core';\r
24 import { HttpClient } from '@angular/common/http';\r
25 @Component({\r
26   selector: 'app-resource-template-options',\r
27   templateUrl: './resource-template-options.component.html',\r
28   styleUrls: ['./resource-template-options.component.scss']\r
29 })\r
30 export class ResourceTemplateOptionsComponent implements OnInit {\r
31   selectedOption: string;\r
32   @Output() option = new EventEmitter();\r
33 \r
34   constructor() { }\r
35 \r
36   ngOnInit() {\r
37   }\r
38 \r
39   selected(value){\r
40     console.log(value);\r
41     this.option.emit(value);\r
42   }\r
43   // loadTemplateData() {\r
44   //  // to do\r
45   // }\r
46 }\r