You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -24,20 +24,20 @@ Components define areas of responsibility in the UI that let you reuse sets of U
24
24
25
25
A component consists of three things:
26
26
27
-
|| Details |
27
+
|Component Part| Details |
28
28
|:--- |:--- |
29
-
| A component class | Handles data and functionality.|
30
-
| An HTML template | Determines the UI.|
31
-
| Component-specific styles | Define the look and feel.|
29
+
| A component class | Handles data and functionality |
30
+
| An HTML template | Determines the UI |
31
+
| Component-specific styles | Define the look and feel |
32
32
33
-
This guide demonstrates building an application with the following components.
33
+
This guide demonstrates building an application with the following components:
34
34
35
35
| Components | Details |
36
36
|:--- |:--- |
37
-
|`<app-root>`| The first component to load and the container for the other components.|
38
-
|`<app-top-bar>`| The store name and checkout button.|
39
-
|`<app-product-list>`| The product list.|
40
-
|`<app-product-alerts>`| A component that contains the application's alerts.|
37
+
|`<app-root>`| The first component to load and the container for the other components |
38
+
|`<app-top-bar>`| The store name and checkout button |
39
+
|`<app-product-list>`| The product list |
40
+
|`<app-product-alerts>`| A component that contains the application's alerts |
41
41
42
42
<divclass="lightbox">
43
43
@@ -181,7 +181,7 @@ The `ProductListComponent` also defines a `products` property that contains impo
181
181
The next step is to create a new alert feature that uses product data from the `ProductListComponent`.
182
182
The alert checks the product's price, and, if the price is greater than $700, displays a **Notify Me** button that lets users sign up for notifications when the product goes on sale.
183
183
184
-
This section walks you through creating a child component, `ProductAlertsComponent` that can receive data from its parent component, `ProductListComponent`.
184
+
This section walks you through creating a child component, `ProductAlertsComponent`, that can receive data from its parent component, `ProductListComponent`.
185
185
186
186
1. Click on the plus sign above the current terminal to create a new terminal to run the command to generate the component.
187
187
@@ -191,11 +191,11 @@ This section walks you through creating a child component, `ProductAlertsCompone
191
191
192
192
</div>
193
193
194
-
1. In the new terminal, generate a new component named `product-alerts` by running the following command.
194
+
1. In the new terminal, generate a new component named `product-alerts` by running the following command:
0 commit comments