File

src/app/components/change-size-screen/change-size-screen.component.ts

Description

Angular component representing the form for changing the size of the screen.

Metadata

selector app-change-size-screen
styleUrls change-size-screen.component.css
templateUrl change-size-screen.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 ChangeSizeScreenComponent class.

Parameters :

Properties

height
height: any

The height input field for changing the screen height.

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

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

  /**
   * The height input field for changing the screen height.
   */
  height: any = localStorage.getItem('screenHeight');

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

results matching ""

    No results matching ""