We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b487f72 commit 3d1f809Copy full SHA for 3d1f809
src/app/app.component.html
@@ -7,7 +7,9 @@ <h2>Mes appareil</h2>
7
<app-appareil></app-appareil>
8
9
</ul>
10
- <button class="btn btn-success" [disabled]="!isAuth">Tout allume</button>
+ <button class="btn btn-success"
11
+ [disabled]="!isAuth"
12
+ (click)="onAllumer()">Tout allume</button>
13
</div>
14
15
src/app/app.component.ts
@@ -15,4 +15,8 @@ export class AppComponent {
}, 4000
16
);
17
}
18
+
19
+ onAllumer() {
20
+ console.log('On allume tout !');
21
+ }
22
0 commit comments