2 * ============LICENSE_START=======================================================
\r
4 * ================================================================================
\r
5 * Copyright 2019 TechMahindra
\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
13 * http://www.apache.org/licenses/LICENSE-2.0
\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
23 import { Component, OnInit, Output, EventEmitter} from '@angular/core';
\r
24 import { HttpClient } from '@angular/common/http';
\r
26 selector: 'app-resource-template-options',
\r
27 templateUrl: './resource-template-options.component.html',
\r
28 styleUrls: ['./resource-template-options.component.scss']
\r
30 export class ResourceTemplateOptionsComponent implements OnInit {
\r
31 selectedOption: string;
\r
32 @Output() option = new EventEmitter();
\r
41 this.option.emit(value);
\r
43 // loadTemplateData() {
\r