-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathapp.component.html
52 lines (37 loc) · 1.15 KB
/
app.component.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
<!-- <h3>count = {{count()}} is {{isEven()?'Even':'Odd'}}</h3>
<button (click)="updateCount()">Update Count Signal</button>
<button (click)="updateProduct()">Update Product</button>
<hr/>
<app-product></app-product>
<app-product-edit></app-product-edit> -->
<!-- <app-product-signal [product]="product"
(productChange)="onProductChange($event)"
[product$]="product"
(product$Change)="onProductChange1($event)"
></app-product-signal>
<app-psignal [value]="counter" />
<button (click)="onIncrement()">Increment</button> -->
<h1>{{title}}</h1>
Parnet = {{p|json}}
<!-- <app-countchild
[product]="product"
(productChange)="notify($event)"/> -->
<!-- <app-countchild
[(product)]="product"
(productChange)="notify($event)">
</app-countchild> -->
<!-- <app-greetsignal
[count]="count"
[product]="p"
(countChange)="notifyCount($event)"
(productChange)="notifyProduct($event)"
/> -->
<app-foosignal
[product]="p"
[count]="count"
(productChange)="notifyProduct($event)"
(countChange)="notifyCount($event)"
[value]="value"
/>
<button (click)="updateCount()">Update Parent Count</button>
<button (click)="updateValue()">Update Parent Value</button>