Un peu de CSS

This commit is contained in:
Sébastien André
2019-10-09 16:04:14 +02:00
parent 2f59760cc1
commit 2688b66825
6 changed files with 80 additions and 16 deletions

View File

@@ -1,10 +1,22 @@
import { Component } from '@angular/core';
import { Component, OnInit } from '@angular/core';
import { ServiceComm } from '../services/serviceComm';
@Component({
selector: 'app-root',
templateUrl: './app.component.html',
styleUrls: ['./app.component.css']
})
export class AppComponent {
export class AppComponent implements OnInit {
title = 'app';
showMenu = false;
constructor(private serviceComm: ServiceComm) {
}
ngOnInit() {
}
toggleMenu() {
this.showMenu = !this.showMenu;
}
}