Created
June 11, 2018 00:35
-
-
Save Seanmclem/9f23a928fcffb898c6c72b1a303345ba to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Component, OnInit } from '@angular/core'; | |
@Component({ | |
selector: 'app-root', | |
templateUrl: './app.component.html', | |
styleUrls: ['./app.component.scss'] | |
}) | |
export class AppComponent implements OnInit { | |
title = 'app'; | |
menuOpen: boolean = false; | |
constructor() { } | |
ngOnInit() {} | |
toogleMenu(){ | |
this.menuOpen = !this.menuOpen; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment