Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
import { Component, OnInit } from '@angular/core';
//import { FormGroup } from '@angular/forms';
@Component({
selector: 'app-signup',
templateUrl: './signup.component.html',
styleUrls: ['./signup.component.css']
})
export class SignupComponent implements OnInit {
constructor() { }
ngOnInit(): void {
}
UserSignUpDetails = {
name: "",
email: "",
password: ""
}
writeForm() {
console.log(this.UserSignUpDetails);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment