Skip to content

Instantly share code, notes, and snippets.

@lyraddigital
Created June 28, 2019 05:15
Show Gist options
  • Save lyraddigital/4daa071937af550f27a1e1bf271203e6 to your computer and use it in GitHub Desktop.
Save lyraddigital/4daa071937af550f27a1e1bf271203e6 to your computer and use it in GitHub Desktop.
Tinkering with Tech - Build a switch control in Angular 8 example - FormGroup set up
ngOnInit() {
this.formGroup = this.formBuilder.group({
isActivated: [true]
});
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment