Skip to content

Instantly share code, notes, and snippets.

@parzibyte
Last active September 2, 2021 19:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save parzibyte/be06c3287b72b11be54fdf4f3b862675 to your computer and use it in GitHub Desktop.
Save parzibyte/be06c3287b72b11be54fdf4f3b862675 to your computer and use it in GitHub Desktop.
import { Component } from '@angular/core';
@Component({
selector: 'app-root',
templateUrl: './app.component.html',
styleUrls: ['./app.component.css']
})
export class AppComponent {
nombre = "Luis"
modificarValor() {
this.nombre = "Otro nombre"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment