All Downloads are FREE. Search and download functionalities are using the official Maven repository.

src.app.modules.agent-network.components.agent.agent.component.ts Maven / Gradle / Ivy

The newest version!
/*
 * SPDX-FileCopyrightText: 2017-2024 Enedis
 *
 * SPDX-License-Identifier: Apache-2.0
 *
 */

import { Component, EventEmitter, Input, Output } from '@angular/core';
import { AgentInfo } from '@model';

@Component({
  selector: 'chutney-agent',
  templateUrl: './agent.component.html',
  styleUrls: ['./agent.component.scss']
})
export class AgentComponent {

  @Input() configurationAgent: AgentInfo;
  @Output() AgentRemoved = new EventEmitter();

  removeAgent() {
    this.AgentRemoved.emit(this.configurationAgent);
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy