File

src/app/components/change-color/change-color.component.ts

Description

Angular component representing the color change form.

Metadata

selector app-change-color
styleUrls change-color.component.css
templateUrl change-color.component.html

Inputs

container

Input property to receive data from a parent component.

Type: any

Constructor

constructor(grapheS: any)

Initializes a new instance of the ChangeColorComponent class.

Parameters :

Properties

bgColor
bgColor: any

The background color input field for changing node or edge background colors.

color
color: any

The color input field for changing node or edge colors.

fColor
fColor: any

The flesh color input field for changing edge colors in case of a directed graph.

import { Component, Input } from '@angular/core';
import { GrapheService } from 'src/app/Services/graphe.service';

/**
 * Angular component representing the color change form.
 */
@Component({
  selector: 'app-change-color',
  templateUrl: './change-color.component.html',
  styleUrls: ['./change-color.component.css']
})
export class ChangeColorComponent {
  /**
   * Input property to receive data from a parent component.
   */
  @Input() container: any;

  /**
   * The color input field for changing node or edge colors.
   */
  color: any;

  /**
   * The background color input field for changing node or edge background colors.
   */
  bgColor: any;

  /**
   * The flesh color input field for changing edge colors in case of a directed graph.
   */
  fColor: any;

  /**
   * Initializes a new instance of the ChangeColorComponent class.
   *
   * @param {GrapheService} grapheS - The GrapheService instance.
   */
  constructor(protected grapheS: GrapheService) {}
}

results matching ""

    No results matching ""